rebase
This commit is contained in:
parent
9f9eaaaf19
commit
f4a2cbd5f4
@ -60,12 +60,13 @@ function init(){
|
|||||||
cd $workPath
|
cd $workPath
|
||||||
if [ ! -f "$fileName" ];then
|
if [ ! -f "$fileName" ];then
|
||||||
echo "file $fileName not exist!"
|
echo "file $fileName not exist!"
|
||||||
# mkdir dist
|
cd $projectPath
|
||||||
# echo "helo" > helo.txt
|
mkdir dist
|
||||||
# mv helo.txt dist
|
echo "helo" > helo.txt
|
||||||
# zip -r $fileName dist
|
mv helo.txt dist
|
||||||
exit 0
|
zip -r $fileName dist
|
||||||
fi
|
fi
|
||||||
|
cd $workPath
|
||||||
if [ ! -d "$projectPath" ]; then
|
if [ ! -d "$projectPath" ]; then
|
||||||
echo "path $projectPath exist! "
|
echo "path $projectPath exist! "
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user