1
0
Fork 0

Follow the angular styleguide for the directories structure

This commit is contained in:
Chocobozzz 2016-05-27 16:23:10 +02:00
parent 157cb9c971
commit 41a2aee38c
59 changed files with 177 additions and 137 deletions

View file

@ -6,4 +6,4 @@ cd client || exit -1
# Compile index and angular files
concurrently \
"node-sass --include-path node_modules/bootstrap-sass/assets/stylesheets/ stylesheets/application.scss stylesheets/index.css" \
"node-sass angular/ --output angular/"
"node-sass app/ --output app/"

View file

@ -2,4 +2,4 @@
cd client || exit -1
rm -f stylesheets/index.css
find angular -regextype posix-egrep -regex ".*\.(css)$" -exec rm -f {} \;
find app -regextype posix-egrep -regex ".*\.(css)$" -exec rm -f {} \;

View file

@ -1,5 +1,6 @@
#!/usr/bin/env sh
cd client || exit -1
find angular -regextype posix-egrep -regex ".*\.(js|map)$" -exec rm -f {} \;
find app -regextype posix-egrep -regex ".*\.(js|map)$" -exec rm -f {} \;
rm -rf ./bundles
rm -f main.js main.js.map

View file

@ -1,3 +1,3 @@
#!/usr/bin/env sh
livereload client/angular -e scss
livereload client/app -e scss

View file

@ -4,4 +4,4 @@ cd client || exit -1
concurrently \
"node-sass -w --include-path node_modules/bootstrap-sass/assets/stylesheets/ stylesheets/application.scss stylesheets/index.css" \
"node-sass -w angular/ --output angular/"
"node-sass -w app/ --output app/"