0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 16:30:37 -05:00
penpot/exporter/scripts/build
2021-06-02 14:28:59 +02:00

18 lines
259 B
Bash
Executable file

#!/usr/bin/env bash
set -ex
yarn install
rm -rf target
export NODE_ENV=production;
# Build the application
clojure -M:dev:shadow-cljs release main
# Remove source
rm -rf target/app
# Copy package*.json files
cp yarn.lock target/
cp package.json target/