Require rustup and nasm
This commit is contained in:
parent
f5e83779e0
commit
c7c2e89c3f
|
@ -1,5 +1,13 @@
|
||||||
# Dependencies
|
# Dependencies
|
||||||
|
|
||||||
|
ifeq ($(shell which rustup),)
|
||||||
|
$(error rustup not found, install from "https://rustup.rs/")
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(shell which nasm),)
|
||||||
|
$(error nasm not found, install from your package manager)
|
||||||
|
endif
|
||||||
|
|
||||||
CARGO_CONFIG_VERSION=0.1.1
|
CARGO_CONFIG_VERSION=0.1.1
|
||||||
ifeq ($(shell cargo install --list | grep '^cargo-config v$(CARGO_CONFIG_VERSION):$$'),)
|
ifeq ($(shell cargo install --list | grep '^cargo-config v$(CARGO_CONFIG_VERSION):$$'),)
|
||||||
$(error cargo-config $(CARGO_CONFIG_VERSION) not found, run "cargo install --force --version $(CARGO_CONFIG_VERSION) cargo-config")
|
$(error cargo-config $(CARGO_CONFIG_VERSION) not found, run "cargo install --force --version $(CARGO_CONFIG_VERSION) cargo-config")
|
||||||
|
|
Loading…
Reference in a new issue