add init script sh

This commit is contained in:
S.long 2020-08-28 16:21:12 +07:00
parent fc3d09a2b4
commit f1aef83a82

23
init.sh Normal file
View File

@ -0,0 +1,23 @@
# Remove Sample in src
rm -rf src/sample*
# Make src/index.ts Empty
echo "" > src/index.ts
# Remove Sample in Test
rm -rf test/*
# Remove Built
rm -rf dist
# Remove Example
rm -rf example
# Remove Self Init Script For Prevent Next time wrong on init
rm -f ./init.sh
# Reinit Git
git init
# Show Warning
echo "Please Goto package.json and change Name , Description, Git Url of this library"