Skip to content

Commit

Permalink
update deps + scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
archeoss committed Sep 7, 2023
1 parent d78f0ee commit 8704259
Show file tree
Hide file tree
Showing 3 changed files with 4,522 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[alias]
backend="build --features backend --no-default-features"
frontend="run --bin frontend --features frontend --no-default-features"
swagger="run --features swagger -- --default"

# [build]
# target-dir=".cargo/.build"
2 changes: 1 addition & 1 deletion frontend/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pub fn build_frontend() {

// Only build frontend when building a release
// #[cfg(not(debug_assertions))]
shell("cd frontend && npm yarn");
shell("cd frontend && yarn build");

// Move build dir
shell("cd frontend && mkdir -p ../target/frontend && mv dist ../target/frontend/dist");
Expand Down
Loading

0 comments on commit 8704259

Please sign in to comment.