library-boilerplate/init.sh

27 lines
441 B
Bash
Raw Normal View History

2020-08-28 16:21:12 +07:00
# 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
2020-09-09 14:25:58 +07:00
# Remove Current Repo
git remote rm origin
2020-08-28 16:21:12 +07:00
# Reinit Git
git init
# Show Warning
echo "Please Goto package.json and change Name , Description, Git Url of this library"