diff --git a/Justfile b/Justfile new file mode 100644 index 000000000..8da11b814 --- /dev/null +++ b/Justfile @@ -0,0 +1,17 @@ +# Justfile + +# Default release command +release: + @echo "Building release version..." + cargo build --release + @just copy-binary + +# Copy binary command +copy-binary: + @if [ -f ./target/release/goosed ]; then \ + echo "Copying goosed binary to ui/desktop/src/bin..."; \ + cp ./target/release/goosed ./ui/desktop/src/bin/; \ + else \ + echo "Release binary not found."; \ + exit 1; \ + fi