0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00
penpot/exporter/scripts/build.sh
2020-07-02 10:43:14 +02:00

19 lines
267 B
Bash
Executable file

#!/usr/bin/env bash
source ~/.bashrc
set -ex
npm ci
rm -rf target
export NODE_ENV=production;
# Build the application
npx shadow-cljs release main
# Remove source
rm -rf target/app
# Copy package*.json files
cp package-lock.json target/
cp package.json target/