41 lines
947 B
Makefile
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
|