...
This commit is contained in:
15
build.sh
Executable file
15
build.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
# Change to the directory where the script is located
|
||||
cd "$(dirname "$0")"
|
||||
# Exit immediately if a command exits with a non-zero status
|
||||
set -e
|
||||
|
||||
echo "Building doctree binary..."
|
||||
cd doctreecmd
|
||||
cargo build --release
|
||||
|
||||
echo "Copying doctree binary to ~/hero/bin/"
|
||||
mkdir -p ~/hero/bin/
|
||||
cp target/release/doctree ~/hero/bin/
|
||||
|
||||
echo "Build and installation complete!"
|
Reference in New Issue
Block a user