14 lines
327 B
Bash
Executable File
14 lines
327 B
Bash
Executable File
#!/bin/bash
|
|
|
|
source /etc/profile
|
|
|
|
|
|
module_sub_path=$module_path"/node_modules"
|
|
yarn install --prefer-offline --loglevel info --unsafe-perm=true --allow-root >> boundle.log
|
|
yarn build >> boundle.log
|
|
|
|
tar -zcvf task-svr.tar.gz ./
|
|
|
|
mkdir target && mv ./task-svr.tar.gz ./target/task-svr.tar.gz
|
|
echo 'all done' 2>&1 >> boundle.log
|