Correct Nightly errors in Makefile

This commit is contained in:
Ben S 2016-02-10 18:21:49 +00:00
parent b3d252522a
commit 1e33f9c055

View File

@ -3,13 +3,13 @@ PREFIX ?= /usr/local
BUILD = target/release/exa BUILD = target/release/exa
$(BUILD): $(BUILD):
@which rustc > /dev/null || { echo "exa requires Rust Nightly to compile. For installation instructions, please visit http://rust-lang.org/"; exit 1; } @which rustc > /dev/null || { echo "exa requires Rust to compile. For installation instructions, please visit http://rust-lang.org/"; exit 1; }
cargo build --release cargo build --release
build: $(BUILD) build: $(BUILD)
build-no-git: build-no-git:
@which rustc > /dev/null || { echo "exa requires Rust Nightly to compile. For installation instructions, please visit http://rust-lang.org/"; exit 1; } @which rustc > /dev/null || { echo "exa requires Rust to compile. For installation instructions, please visit http://rust-lang.org/"; exit 1; }
cargo build --release --no-default-features cargo build --release --no-default-features
INSTALL = $(PREFIX)/bin/exa INSTALL = $(PREFIX)/bin/exa