54 lines
1.2 KiB
Makefile
54 lines
1.2 KiB
Makefile
_:
|
|
@just --list
|
|
|
|
install:
|
|
cargo install --path .
|
|
|
|
run-rust *args:
|
|
cargo run -- {{args}}
|
|
|
|
run-go *args:
|
|
cargo run --no-default-features --features switch-go-lang -- {{args}}
|
|
|
|
run-ts *args:
|
|
cargo run --no-default-features --features switch-ts-lang -- {{args}}
|
|
|
|
run-dart *args:
|
|
cargo run --no-default-features --features switch-dart-lang -- {{args}}
|
|
|
|
build-run-rust:
|
|
cargo build --release
|
|
|
|
build-run-go:
|
|
cargo build --release --no-default-features --features switch-go-lang
|
|
|
|
build-run-ts:
|
|
cargo build --release --no-default-features --features switch-ts-lang
|
|
|
|
build-run-dart:
|
|
cargo build --release --no-default-features --features switch-dart-lang
|
|
|
|
install-run-go:
|
|
cargo build --release --no-default-features --features switch-go-lang
|
|
cp target/release/runrs ~/bin/rungo
|
|
|
|
install-run-ts:
|
|
cargo build --release --no-default-features --features switch-ts-lang
|
|
cp target/release/runrs ~/bin/runts
|
|
|
|
install-run-dart:
|
|
cargo build --release --no-default-features --features switch-dart-lang
|
|
cp target/release/runrs ~/bin/rundart
|
|
|
|
build-all:
|
|
@just build-run-rust
|
|
@just build-run-go
|
|
@just build-run-ts
|
|
@just build-run-dart
|
|
|
|
install-all:
|
|
@just install
|
|
@just install-run-go
|
|
@just install-run-ts
|
|
@just install-run-dart
|