2020-04-05 01:05:49 +02:00
|
|
|
# Makefile for monolith
|
2019-09-22 18:57:50 +02:00
|
|
|
|
2020-04-05 01:05:49 +02:00
|
|
|
all: build
|
2020-02-14 05:46:08 +01:00
|
|
|
.PHONY: all
|
2019-09-22 18:57:50 +02:00
|
|
|
|
|
|
|
build:
|
2019-12-04 05:12:52 +01:00
|
|
|
@cargo build --locked
|
2020-02-14 05:46:08 +01:00
|
|
|
.PHONY: build
|
2019-09-22 18:57:50 +02:00
|
|
|
|
2020-02-14 05:46:08 +01:00
|
|
|
test: build
|
2019-12-04 05:12:52 +01:00
|
|
|
@cargo test --locked
|
2019-09-22 18:57:50 +02:00
|
|
|
@cargo fmt --all -- --check
|
2021-02-24 10:33:45 +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
|
2020-04-05 01:05:49 +02:00
|
|
|
|
|
|
|
install:
|
|
|
|
@cargo install --force --locked --path .
|
|
|
|
.PHONY: install
|
|
|
|
|
|
|
|
uninstall:
|
|
|
|
@cargo uninstall
|
|
|
|
.PHONY: uninstall
|
2020-06-20 07:05:39 +02:00
|
|
|
|
|
|
|
clean:
|
|
|
|
@cargo clean
|
|
|
|
.PHONY: clean
|