mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-29 03:53:14 +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
|