-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJustfile
More file actions
45 lines (31 loc) · 976 Bytes
/
Justfile
File metadata and controls
45 lines (31 loc) · 976 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import 'scripts/watch.justfile'
import 'scripts/clean.justfile'
import 'scripts/android.justfile'
import 'scripts/onnx.justfile'
# Alias
alias install := install-dependencies
alias config:= configure
alias w := watch
alias c := clean
# projects directories
APP_DIR:='mobile'
LIB_DIR :='lib'
#>> Default Shows the default commands
default:
@just --list --list-heading $'Available commands\n'
#>> execute all initial setup after cloning the project
configure:
@just install-dependencies
rustup target add aarch64-unknown-linux-gnu
#>> Dependency Setup
[doc('Install the application dependencies')]
install-dependencies:
@echo "Installing dependencies"
cargo install --git https://github.com/cpg314/cargo-group-imports
cargo install cargo-sort
cargo install cargo-watch
brew install coreutils gnu-sed
generate-bindings:
cd server && cargo test
rm -rf app/app/bindings
cp -r server/bindings app/app/bindings