-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.sh
More file actions
41 lines (33 loc) · 825 Bytes
/
init.sh
File metadata and controls
41 lines (33 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
clear
echo "============== Initializing project... ================="
#Installing modules
echo "==> Installing Gulp and dependencies..."
cd src/
sudo npm install
cd ../
clear
echo "==> Removing stuff you don't want..."
rm README.md
rm init.sh
# Remove .gitkeep
rm ./assets/css/.gitkeep
rm ./assets/fonts/.gitkeep
rm ./assets/images/icons/.gitkeep
rm ./assets/images/src/.gitkeep
rm ./assets/js/components/.gitkeep
rm ./assets/js/vendors/.gitkeep
rm ./assets/sass/components/.gitkeep
rm ./assets/sass/layout/.gitkeep
rm ./assets/sass/pages/.gitkeep
rm ./assets/sass/vendors/.gitkeep
echo "==> Running Gulp..."
cd src/
gulp init
cd ..
echo "==> First commit..."
rm -rf .git #'Reset' Git
git init
git add --all
git commit -m "Initial commit"
echo "******************** Tudo pronto! ✔ ********************"