mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-19 15:11:52 +03:00
17 lines
422 B
Bash
Executable File
17 lines
422 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
# Helper to compile the waspc/packages/deploy package locally and in CI.
|
|
# It will then move it into the Cabal data dir (and thus, the installer archive in CI releases).
|
|
|
|
# Gets the directory of where this script lives.
|
|
dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
|
|
|
cd "$dir/../packages/deploy"
|
|
npm install
|
|
npm run build
|
|
rm -rf ./node_modules
|
|
|
|
cd "$dir/.."
|
|
rm -rf ./data/packages
|
|
cp -R ./packages ./data
|