diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..31e38f2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/target +cargo.lock diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..887031c --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,21 @@ +pipeline: + build: + when: + event: [push, pull_request] + image: rust:latest + commands: + - cargo build + - echo "Done building!" + gzip: + when: + event: [push] + image: rust:latest + commands: + - mkdir ../artifact + - mv target/debug ../artifact + - tar -c -z -v -f gtubek-dev.tar.gz ../artifact + #upload: + #when: + #event: [push] + #image: +