mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
Add run.sh and fix run_tests.sh to use user's cargo cache
Add run.sh script to start the backend (erases db, runs cargo with sudo using user's CARGO_HOME to avoid full recompilation). Remove sudo from cargo test in run_tests.sh for the same reason. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
8153a216b9
commit
c04e76157e
Executable
+3
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
sudo rm -f oott.db
|
||||||
|
sudo CARGO_HOME=$HOME/.cargo cargo run
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
sudo rm -f oott.db
|
sudo rm -f oott.db
|
||||||
sudo cargo test -- --show-output
|
cargo test -- --show-output
|
||||||
|
|||||||
Reference in New Issue
Block a user