2
0
mirror of https://github.com/Y2Z/monolith synced 2024-11-15 06:12:52 +00:00
monolith/Makefile

30 lines
379 B
Makefile
Raw Normal View History

2020-04-04 23:05:49 +00:00
# Makefile for monolith
2019-09-22 16:57:50 +00:00
2020-04-04 23:05:49 +00:00
all: build
2020-02-14 04:46:08 +00:00
.PHONY: all
2019-09-22 16:57:50 +00:00
build:
@cargo build --locked
2020-02-14 04:46:08 +00:00
.PHONY: build
2019-09-22 16:57:50 +00:00
2020-02-14 04:46:08 +00:00
test: build
@cargo test --locked
2019-09-22 16:57:50 +00:00
@cargo fmt --all -- --check
2020-04-04 23:05:49 +00:00
.PHONY: test_code_formatting
2019-09-22 16:57:50 +00:00
lint:
@cargo fmt --all --
2020-02-14 04:46:08 +00:00
.PHONY: lint
2020-04-04 23:05:49 +00:00
install:
@cargo install --force --locked --path .
.PHONY: install
uninstall:
@cargo uninstall
.PHONY: uninstall
2020-06-20 05:05:39 +00:00
clean:
@cargo clean
.PHONY: clean