19 lines
333 B
Bash
Executable File
19 lines
333 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#!/bin/bash -e
|
|
set -Eeuo pipefail
|
|
|
|
export HOME=$(pwd)
|
|
export CARGO_HOME=$(pwd)/.cargo
|
|
cd wwp-repo
|
|
ln -s ../node_modules ./node_modules
|
|
ln -s ../target ./target
|
|
ln -s ../wwpapp ./dist
|
|
|
|
echo Running tests
|
|
cargo test --target-dir ../target --profile release
|
|
|
|
echo Building assets
|
|
npm install
|
|
trunk build --locked --release
|