Skip to content

Commit

Permalink
added build script
Browse files Browse the repository at this point in the history
  • Loading branch information
CHRISCARLON committed Sep 17, 2024
1 parent 200aad3 commit 5152a77
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/target
Cargo.lock
release_build.sh
.DS_Store
.DS_Store
18 changes: 18 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash

# Exit immediately if a command exits with a non-zero status
set -e

# Clean the project
cargo clean

# Build the project in release mode
cargo build --release

# Install the binary
sudo cp target/release/exqs /usr/local/bin/

# Verify the installation
which exqs

echo "exqs has been rebuilt and installed successfully!"

0 comments on commit 5152a77

Please sign in to comment.