Fixed install, fixed typo

This commit is contained in:
Teo
2025-03-21 12:29:32 +09:00
parent 55976c58d2
commit f2f979b11c
3 changed files with 8 additions and 3 deletions

View File

@ -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:"