You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
538 B
15 lines
538 B
#!/usr/bin/env bash
|
|
|
|
rm -rf build
|
|
mkdir -p build/{lib,bin}
|
|
find lib/** -type d -exec mkdir -p build/{} \;
|
|
find bin/** -type d -exec mkdir -p build/{} \;
|
|
find lib/** -type f -exec node_modules/.bin/async-to-gen --out-file build/{} {} \;
|
|
find bin/** -type f -exec node_modules/.bin/async-to-gen --out-file build/{} {} \;
|
|
chmod +x build/bin/now.js
|
|
cp lib/utils/billing/*.json build/lib/utils/billing/
|
|
|
|
# CI
|
|
mkdir build/scripts
|
|
node_modules/.bin/async-to-gen --out-file build/scripts/slack.js scripts/slack.js
|
|
chmod +x build/scripts/slack.js
|
|
|