add init script sh
This commit is contained in:
parent
fc3d09a2b4
commit
f1aef83a82
23
init.sh
Normal file
23
init.sh
Normal 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"
|
Loading…
Reference in New Issue
Block a user