Files
runrs/justfile
2024-12-31 00:35:01 +08:00

41 lines
947 B
Makefile

_:
@just --list
install:
cargo install --path .
build-run-rust:
cargo build --release
build-run-go:
cargo build --release --no-default-features --features switch-go-lang
build-run-js:
cargo build --release --no-default-features --features switch-js-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-js:
cargo build --release --no-default-features --features switch-js-lang
cp target/release/runrs ~/bin/runjss
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-js
@just build-run-dart
install-all:
@just install
@just install-run-go
@just install-run-js
@just install-run-dart