mirror of
https://github.com/Y2Z/monolith
synced 2024-11-10 19:10:29 +00:00
30 lines
379 B
Makefile
30 lines
379 B
Makefile
# Makefile for monolith
|
|
|
|
all: build
|
|
.PHONY: all
|
|
|
|
build:
|
|
@cargo build --locked
|
|
.PHONY: build
|
|
|
|
test: build
|
|
@cargo test --locked
|
|
@cargo fmt --all -- --check
|
|
.PHONY: test_code_formatting
|
|
|
|
lint:
|
|
@cargo fmt --all --
|
|
.PHONY: lint
|
|
|
|
install:
|
|
@cargo install --force --locked --path .
|
|
.PHONY: install
|
|
|
|
uninstall:
|
|
@cargo uninstall
|
|
.PHONY: uninstall
|
|
|
|
clean:
|
|
@cargo clean
|
|
.PHONY: clean
|