Skip to content

Commit

Permalink
🔨 adds makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
chriamue committed Sep 28, 2023
1 parent b37ebe2 commit a3ea23d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
.PHONY: server build test app mobile

# Run the server with specific features
server:
cargo run --features="server,detect,yolov8" --no-default-features --release

# Build the project
build:
cargo build

# Run tests
test:
cargo test

# Serve the app
app:
cd app && trunk serve

# Run mobile development
mobile:
cd app && cargo tauri android dev

0 comments on commit a3ea23d

Please sign in to comment.