Skip to content

Commit

Permalink
[chore]: add Just for build script modification (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kvadratni authored Nov 25, 2024
1 parent 21a8cee commit e314895
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e314895

Please sign in to comment.