mirror of
https://github.com/mikenikles/github1s.git
synced 2021-09-10 00:06:44 +03:00
24 lines
424 B
Bash
Executable File
24 lines
424 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
cd "$(dirname "${0}")/.."
|
|
APP_ROOT=$(pwd)
|
|
|
|
# execute all necessary tasks
|
|
function main() {
|
|
cd "${APP_ROOT}/scripts"
|
|
./package/copy-resources.sh
|
|
./package/copy-node_modules.sh
|
|
./package/copy-extensions.sh
|
|
node ./package/generate-config.js
|
|
|
|
echo 'please waiting...'
|
|
while [ ! -e "${APP_ROOT}/lib/vscode/out" ]
|
|
do
|
|
echo "waiting for vscode build..."
|
|
sleep 3
|
|
done
|
|
}
|
|
|
|
main "$@"
|