Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (27 sloc) 819 Bytes
TARGET_HOST="mathhsro"
default: compile
# done
run:
cargo run --release local all
run-musl:
cargo run --target x86_64-unknown-linux-musl --release local all
compile:
cargo build --release
compile-musl:
cargo build --target x86_64-unknown-linux-musl --release
compileDocker: clean
docker run --rm -it -v $$(pwd):/compile -e TARGET_UID="$$(id --user)" -e TARGET_GID="$$(id --group)" dns2utf8/rust-old
deploy: compileDocker
ssh ${TARGET_HOST} 'cat > lasttest' < target/release/lasttest
clean:
rm -rf target || true
dockerContainer:
docker build --tag="dns2utf8/rust-old" .
musl:
cargo build --release --target=x86_64-unknown-linux-musl
setupClippy:
rustup run nightly cargo uninstall clippy
rustup update
rustup run nightly cargo install clippy
clippy:
rustup run nightly cargo clippy --release
You can’t perform that action at this time.