diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-06-18 16:58:20 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-06-18 17:01:16 +0900 |
| commit | 399207321265307bb15f37d867f9370cd51c82a8 (patch) | |
| tree | 009847d9776ed5897ea61548a137aae8eadd1332 | |
| parent | ef80b19f2fbd6953340ff463b865931f32d14fb7 (diff) | |
dist: move comp to dist
Signed-off-by: Ophestra <cat@gensokyo.uk>
| -rw-r--r-- | dist/comp/_fortify (renamed from comp/_fortify) | 0 | ||||
| -rwxr-xr-x | dist/release.sh | 2 | ||||
| -rw-r--r-- | package.nix | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/comp/_fortify b/dist/comp/_fortify index 2eeaf845..2eeaf845 100644 --- a/comp/_fortify +++ b/dist/comp/_fortify diff --git a/dist/release.sh b/dist/release.sh index 02f15411..a50c6614 100755 --- a/dist/release.sh +++ b/dist/release.sh @@ -6,7 +6,7 @@ out="dist/${pname}" mkdir -p "${out}" cp -v "README.md" "dist/fsurc.default" "dist/install.sh" "${out}" -cp -rv "comp" "${out}" +cp -rv "dist/comp" "${out}" go generate ./... go build -trimpath -v -o "${out}/bin/" -ldflags "-s -w -buildid= -extldflags '-static' diff --git a/package.nix b/package.nix index 57a77112..128b18c6 100644 --- a/package.nix +++ b/package.nix @@ -108,7 +108,7 @@ buildGoModule rec { ]; in '' - install -D --target-directory=$out/share/zsh/site-functions comp/* + install -D --target-directory=$out/share/zsh/site-functions dist/comp/* mkdir "$out/libexec" mv "$out"/bin/* "$out/libexec/" |
