justinhoward/papaya

View on GitHub
bin/build-release

Summary

Maintainability
Test Coverage
#!/usr/bin/env sh
set -ex

rm -rf dist release
tsc --project tsconfig-umd.json
mkdir -p release
version="$(node -p "require('./package').version")"
(
  cd dist
  tar czvf "../release/papaya-${version}.tgz" .
  zip -r "../release/papaya-${version}.zip" .
)