19 lines
278 B
Bash
Executable File
19 lines
278 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e -x
|
|
|
|
pushd ts
|
|
npm run build
|
|
popd
|
|
|
|
cargo build --release
|
|
|
|
mkdir -p build/
|
|
|
|
cp target/release/api build/server
|
|
cp api/templates/ build/ -r
|
|
cp api/static/ build -r
|
|
|
|
bash ./scripts/default-rocket-toml.sh
|
|
docker build -t registry.gitlab.com/shockrah/clippable .
|