diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..41c1721 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,14 @@ +stages: + - build + +# Builds out the intended zip package +package: + script: + - mkdir -p build + - cp api/templates/ api/static/ build -r + - cargo build --release + - cp target/release/api build/server + - cp ./scripts/generate-thumbnail.sh build/ + - cp readme.md build/ + artifacts: + - build/ diff --git a/readme.md b/readme.md index 007ca2c..6e0bfca 100644 --- a/readme.md +++ b/readme.md @@ -20,11 +20,14 @@ There are a few environment variables that can be configured: Currently the project relies on Rust Nightly to build due to a requirement in Rocket however as that framework moves to Rust Stable so to will this project. - ## Building frontend javascript Currently the website's javascript is written in typescript then compiled to Javascript. The output directory is `/api/static/js/` which means `mkdir -p api/static/js` must be ran in order to ensure that output directory is present and compilation succeeds. There are no dependencies and is only written in typescript to -enforce some level of consistency among contributor code. \ No newline at end of file +enforce some level of consistency among contributor code. + +## Roadmap + +_Check the /roadmap.md_ \ No newline at end of file