mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 07:50:43 -05:00
19 lines
265 B
Bash
Executable file
19 lines
265 B
Bash
Executable file
#!/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 yarn.lock target/
|
|
cp package.json target/
|