diff --git a/Makefile b/Makefile index 073f855..a748e3f 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ dist/josh-sync: bin/josh-sync lib/*.sh VERSION @echo '# Generated by: make build' >> dist/josh-sync @echo '' >> dist/josh-sync @# Inline all library modules (strip shebangs and source directives) - @for f in lib/core.sh lib/config.sh lib/auth.sh lib/state.sh lib/sync.sh; do \ + @for f in lib/core.sh lib/config.sh lib/auth.sh lib/state.sh lib/sync.sh lib/onboard.sh; do \ echo "# --- $$f ---" >> dist/josh-sync; \ grep -v '^#!/' "$$f" | grep -v '^# shellcheck source=' >> dist/josh-sync; \ echo '' >> dist/josh-sync; \ diff --git a/flake.nix b/flake.nix index 063826e..d6a1de9 100644 --- a/flake.nix +++ b/flake.nix @@ -28,6 +28,7 @@ installPhase = '' mkdir -p $out/{bin,lib} + cp VERSION $out/ cp lib/*.sh $out/lib/ cp bin/josh-sync $out/bin/ chmod +x $out/bin/josh-sync