diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..2c9bb67 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,10 @@ +pipeline: + build: + image: rust + commands: + - rustup component add rustfmt + - cargo --version + - cargo fmt --check + - cargo build + - cargo test + - ./test.sh diff --git a/justfile b/justfile index 88e7fe6..478e8e6 100644 --- a/justfile +++ b/justfile @@ -1,15 +1,15 @@ -dist: target-release-skip +dist: target-release if test ! -d dist ; then mkdir dist ; fi cp target/release/skip dist/ -inttest: target-debug-skip - ./test.sh - -target-release-skip: unittest inttest +target-release: unittest inttest cargo build --release -target-debug-skip: - cargo build +inttest: target-debug + ./test.sh -unittest: target-debug-skip +unittest: target-debug cargo test + +target-debug: + cargo build