+ Pipeline for building simple package for linux
This commit is contained in:
parent
7046d835b8
commit
90bd7658e6
14
.gitlab-ci.yml
Normal file
14
.gitlab-ci.yml
Normal file
@ -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/
|
@ -20,7 +20,6 @@ There are a few environment variables that can be configured:
|
|||||||
Currently the project relies on Rust Nightly to build due to a requirement in
|
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.
|
Rocket however as that framework moves to Rust Stable so to will this project.
|
||||||
|
|
||||||
|
|
||||||
## Building frontend javascript
|
## Building frontend javascript
|
||||||
|
|
||||||
Currently the website's javascript is written in typescript then compiled to
|
Currently the website's javascript is written in typescript then compiled to
|
||||||
@ -28,3 +27,7 @@ Javascript. The output directory is `/api/static/js/` which means `mkdir -p api/
|
|||||||
must be ran in order to ensure that output directory is present and compilation
|
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
|
succeeds. There are no dependencies and is only written in typescript to
|
||||||
enforce some level of consistency among contributor code.
|
enforce some level of consistency among contributor code.
|
||||||
|
|
||||||
|
## Roadmap
|
||||||
|
|
||||||
|
_Check the /roadmap.md_
|
Loading…
Reference in New Issue
Block a user