mirror of
https://github.com/teo3300/rust-mal.git
synced 2026-01-12 01:05:32 +01:00
Fixed install, fixed typo
This commit is contained in:
5
Makefile
5
Makefile
@ -6,9 +6,9 @@ build-release:
|
||||
|
||||
test:
|
||||
@echo "Test release"
|
||||
@cargo test --release
|
||||
@MAL_HOME=core cargo test --release
|
||||
|
||||
conf:
|
||||
conf: test
|
||||
@echo "Copy core and libraries"
|
||||
@mkdir -p ${HOME}/.config/mal
|
||||
cp -f core/core.mal ${HOME}/.config/mal/
|
||||
@ -17,6 +17,7 @@ conf:
|
||||
|
||||
install: build-release test conf
|
||||
@echo "Install mal"
|
||||
@sudo mkdir -p /usr/local/bin
|
||||
sudo cp target/release/rust-mal /usr/local/bin/mal
|
||||
@sudo chown ${USER} /usr/local/bin/mal
|
||||
@echo "To start mal run:"
|
||||
|
||||
Reference in New Issue
Block a user