about summary refs log tree commit diff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/justfile b/justfile
index 3ab2744..da205b8 100644
--- a/justfile
+++ b/justfile
@@ -6,9 +6,12 @@ prod_db := "/var/awake/database.sqlite"
 get-db:
 	rsync -aP {{prod}}:{{prod_db}} .
 
+run:
+	cargo run --release -- serve dev.conf
+
 graph: get-db
-	cargo run --release -- graph dev.conf
+	cargo run --release --bin awake -- graph dev.conf
 
 deploy:
-	cargo build --release --target x86_64-unknown-linux-gnu
+	cargo build --release --bin awake --target x86_64-unknown-linux-gnu
 	rsync -aP target/x86_64-unknown-linux-gnu/release/awake {{prod}}:{{prod_bin}}
\ No newline at end of file