monolith/Makefile

22 lines
273 B
Makefile
Raw Normal View History

2020-02-14 05:46:08 +01:00
#!/usr/bin/make -f
2019-09-22 18:57:50 +02:00
2020-02-14 05:46:08 +01:00
all: test
.PHONY: all
2019-09-22 18:57:50 +02:00
build:
@cargo build --locked
2020-02-14 05:46:08 +01:00
.PHONY: build
2019-09-22 18:57:50 +02:00
install:
@cargo install --force --locked --path .
2020-02-14 05:46:08 +01:00
.PHONY: install
2019-09-22 18:57:50 +02:00
2020-02-14 05:46:08 +01:00
test: build
@cargo test --locked
2019-09-22 18:57:50 +02:00
@cargo fmt --all -- --check
2020-02-14 05:46:08 +01:00
.PHONY: test
2019-09-22 18:57:50 +02:00
lint:
@cargo fmt --all --
2020-02-14 05:46:08 +01:00
.PHONY: lint