From f1aef83a825e3030342f2cf3e214440233365d50 Mon Sep 17 00:00:00 2001 From: "S.long" Date: Fri, 28 Aug 2020 16:21:12 +0700 Subject: [PATCH] add init script sh --- init.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 init.sh diff --git a/init.sh b/init.sh new file mode 100644 index 0000000..c3b38cd --- /dev/null +++ b/init.sh @@ -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"