Files
rust-mal/Makefile
teo3300 5996af1aea Map/Vector applicaility
- Maps and Vectors can be applied as functions, using keys and int as
  their arguments
- Added Identity function
- Test before install
- added conditional mapping
2024-06-22 20:23:24 +09:00

18 lines
370 B
Makefile

default: build-release
build-release:
cargo build --release
test:
cargo test --release
conf:
mkdir -p ${HOME}/.config/mal
cp -f core/core.mal ${HOME}/.config/mal/
mkdir -p ${HOME}/.config/mal/libs
cp -f libs/* ${HOME}/.config/mal/libs/
install: build-release test conf
sudo cp target/release/rust-mal /usr/local/bin/mal
sudo chown ${USER} /usr/local/bin/mal