11.PHONY : all build install uninstall clean help test
22
33# Build variables
4- BINARY_NAME =picoclaw
4+ BINARY_NAME =v1claw
55BUILD_DIR =build
66CMD_DIR =cmd/$(BINARY_NAME )
77MAIN_GO =$(CMD_DIR ) /main.go
@@ -23,8 +23,8 @@ INSTALL_BIN_DIR=$(INSTALL_PREFIX)/bin
2323INSTALL_MAN_DIR =$(INSTALL_PREFIX ) /share/man/man1
2424
2525# Workspace and Skills
26- PICOCLAW_HOME ? =$(HOME ) /.picoclaw
27- WORKSPACE_DIR? =$(PICOCLAW_HOME ) /workspace
26+ V1CLAW_HOME ? =$(HOME ) /.v1claw
27+ WORKSPACE_DIR? =$(V1CLAW_HOME ) /workspace
2828WORKSPACE_SKILLS_DIR =$(WORKSPACE_DIR ) /skills
2929BUILTIN_SKILLS_DIR =$(CURDIR ) /skills
3030
@@ -72,15 +72,15 @@ generate:
7272 @$(GO ) generate ./...
7373 @echo " Run generate complete"
7474
75- # # build: Build the picoclaw binary for current platform
75+ # # build: Build the v1claw binary for current platform
7676build : generate
7777 @echo " Building $( BINARY_NAME) for $( PLATFORM) /$( ARCH) ..."
7878 @mkdir -p $(BUILD_DIR )
7979 @$(GO ) build $(GOFLAGS ) $(LDFLAGS ) -o $(BINARY_PATH ) ./$(CMD_DIR )
8080 @echo " Build complete: $( BINARY_PATH) "
8181 @ln -sf $(BINARY_NAME ) -$(PLATFORM ) -$(ARCH ) $(BUILD_DIR ) /$(BINARY_NAME )
8282
83- # # build-all: Build picoclaw for all platforms
83+ # # build-all: Build v1claw for all platforms
8484build-all : generate
8585 @echo " Building for multiple platforms..."
8686 @mkdir -p $(BUILD_DIR )
@@ -92,7 +92,7 @@ build-all: generate
9292 GOOS=windows GOARCH=amd64 $(GO ) build $(LDFLAGS ) -o $(BUILD_DIR ) /$(BINARY_NAME ) -windows-amd64.exe ./$(CMD_DIR )
9393 @echo " All builds complete"
9494
95- # # install: Install picoclaw to system and copy builtin skills
95+ # # install: Install v1claw to system and copy builtin skills
9696install : build
9797 @echo " Installing $( BINARY_NAME) ..."
9898 @mkdir -p $(INSTALL_BIN_DIR )
@@ -101,19 +101,19 @@ install: build
101101 @echo " Installed binary to $( INSTALL_BIN_DIR) /$( BINARY_NAME) "
102102 @echo " Installation complete!"
103103
104- # # uninstall: Remove picoclaw from system
104+ # # uninstall: Remove v1claw from system
105105uninstall :
106106 @echo " Uninstalling $( BINARY_NAME) ..."
107107 @rm -f $(INSTALL_BIN_DIR ) /$(BINARY_NAME )
108108 @echo " Removed binary from $( INSTALL_BIN_DIR) /$( BINARY_NAME) "
109109 @echo " Note: Only the executable file has been deleted."
110110 @echo " If you need to delete all configurations (config.json, workspace, etc.), run 'make uninstall-all'"
111111
112- # # uninstall-all: Remove picoclaw and all data
112+ # # uninstall-all: Remove v1claw and all data
113113uninstall-all :
114114 @echo " Removing workspace and skills..."
115- @rm -rf $(PICOCLAW_HOME )
116- @echo " Removed workspace: $( PICOCLAW_HOME ) "
115+ @rm -rf $(V1CLAW_HOME )
116+ @echo " Removed workspace: $( V1CLAW_HOME ) "
117117 @echo " Complete uninstallation done!"
118118
119119# # clean: Remove build artifacts
@@ -147,13 +147,13 @@ update-deps:
147147# # check: Run vet, fmt, and verify dependencies
148148check : deps fmt vet test
149149
150- # # run: Build and run picoclaw
150+ # # run: Build and run v1claw
151151run : build
152152 @$(BUILD_DIR ) /$(BINARY_NAME ) $(ARGS )
153153
154154# # help: Show this help message
155155help :
156- @echo " picoclaw Makefile"
156+ @echo " v1claw Makefile"
157157 @echo " "
158158 @echo " Usage:"
159159 @echo " make [target]"
@@ -169,7 +169,7 @@ help:
169169 @echo " "
170170 @echo " Environment Variables:"
171171 @echo " INSTALL_PREFIX # Installation prefix (default: ~/.local)"
172- @echo " WORKSPACE_DIR # Workspace directory (default: ~/.picoclaw /workspace)"
172+ @echo " WORKSPACE_DIR # Workspace directory (default: ~/.v1claw /workspace)"
173173 @echo " VERSION # Version string (default: git describe)"
174174 @echo " "
175175 @echo " Current Configuration:"
0 commit comments