From 5861e465a2ccf31d87ea25ac145770786f9cc96e Mon Sep 17 00:00:00 2001 From: bndw Date: Sat, 24 Jan 2026 09:48:34 -0800 Subject: Rename project from deploy to ship - Rename module to github.com/bdw/ship - Rename cmd/deploy to cmd/ship - Update all import paths - Update config path from ~/.config/deploy to ~/.config/ship - Update VPS env path from /etc/deploy to /etc/ship - Update README, Makefile, and docs --- internal/state/state.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'internal/state/state.go') diff --git a/internal/state/state.go b/internal/state/state.go index def0bcf..b99e4ca 100644 --- a/internal/state/state.go +++ b/internal/state/state.go @@ -33,7 +33,7 @@ const ( startPort = 8001 ) -// Load reads state from ~/.config/deploy/state.json +// Load reads state from ~/.config/ship/state.json func Load() (*State, error) { path := statePath() @@ -62,7 +62,7 @@ func Load() (*State, error) { return &state, nil } -// Save writes state to ~/.config/deploy/state.json +// Save writes state to ~/.config/ship/state.json func (s *State) Save() error { path := statePath() @@ -153,7 +153,7 @@ func statePath() string { home, err := os.UserHomeDir() if err != nil { // Fallback to current directory (should rarely happen) - return ".deploy-state.json" + return ".ship-state.json" } - return filepath.Join(home, ".config", "deploy", "state.json") + return filepath.Join(home, ".config", "ship", "state.json") } -- cgit v1.2.3