Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/just-cameron/note. External storage tool for Letta agents to manage persistent notes
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435.PHONY: build clean test release
# Binary nameBINARY=note-sync
# Build directoryBUILD_DIR=bin
build: go build -o $(BUILD_DIR)/$(BINARY) ./cmd/note-sync
clean: rm -rf $(BUILD_DIR)
test: go test ./...
# Cross-compile for multiple platformsrelease: clean mkdir -p $(BUILD_DIR) GOOS=darwin GOARCH=amd64 go build -o $(BUILD_DIR)/$(BINARY)-darwin-amd64 ./cmd/note-sync GOOS=darwin GOARCH=arm64 go build -o $(BUILD_DIR)/$(BINARY)-darwin-arm64 ./cmd/note-sync GOOS=linux GOARCH=amd64 go build -o $(BUILD_DIR)/$(BINARY)-linux-amd64 ./cmd/note-sync GOOS=linux GOARCH=arm64 go build -o $(BUILD_DIR)/$(BINARY)-linux-arm64 ./cmd/note-sync GOOS=windows GOARCH=amd64 go build -o $(BUILD_DIR)/$(BINARY)-windows-amd64.exe ./cmd/note-sync
# Install locallyinstall: build cp $(BUILD_DIR)/$(BINARY) /usr/local/bin/
# Download dependenciesdeps: go mod download go mod tidy