Skip to content

Commit

Permalink
Simplify Backend Commands (#495)
Browse files Browse the repository at this point in the history
- adding `build-backend` to to the setup command to satisfy Tauri build and not run the `build-release` command
- new command to run backend server to make the "building from source" documentation consistent to only using `make` commands
  • Loading branch information
jinwook-k authored Aug 28, 2023
1 parent 4f7a681 commit b6ddaa8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ setup-dev:
test -f .env || cp .env.template .env
# Check if /dist folder exists for Tauri and if not create it
mkdir -p ./crates/tauri/dist
# Build backend to copy binaries for Tauri
make build-backend

# Specifically for debian based distros
setup-dev-linux:
Expand All @@ -106,6 +108,9 @@ setup-dev-linux:
libsdl2-dev \
clang

run-backend-dev:
cargo run -p spyglass

run-client-dev:
cargo tauri dev --config ./crates/tauri/tauri.dev.conf.json

Expand Down

0 comments on commit b6ddaa8

Please sign in to comment.