Added github actions and makefile
This commit is contained in:
parent
501ca2fd5f
commit
e7b3558813
4 changed files with 63 additions and 0 deletions
24
Makefile
Normal file
24
Makefile
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
all: test
|
||||
|
||||
build:
|
||||
@cargo build --all-features
|
||||
|
||||
doc:
|
||||
@cargo doc --all-features
|
||||
|
||||
test:
|
||||
@cargo test --all-features
|
||||
|
||||
format:
|
||||
@rustup component add rustfmt 2> /dev/null
|
||||
@cargo fmt --all
|
||||
|
||||
format-check:
|
||||
@rustup component add rustfmt 2> /dev/null
|
||||
@cargo fmt --all -- --check
|
||||
|
||||
lint:
|
||||
@rustup component add clippy 2> /dev/null
|
||||
@cargo clippy
|
||||
|
||||
.PHONY: all doc test format format-check lint
|
||||
Loading…
Add table
Add a link
Reference in a new issue