S
Size: a a a
GG
GG
$ cat appbuild.sh```
#!/bin/bash
set -e
set -x
#cd /root/test-app &&
npm --prefix /root/test-app install -g typescript
npm --prefix /root/test-app install
CI=false npm --prefix /root/test-app run build
pm2 delete -s test-app || \':\' <<<- вот здесь вопрос
m2 start "serve -s build -p 3000" --name "test-app"
GG
GG
#!/bin/bash
touch /root/test 2> /dev/null
if [ $? -eq 0 ]
then
echo "Successfully created file"
else
echo "Could not create file" >&2
fi
GG
GG
GG