0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00
penpot/exporter/scripts/build.sh

20 lines
273 B
Bash
Raw Normal View History

#!/usr/bin/env bash
source ~/.bashrc
set -ex
yarn install
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/