Follow the angular styleguide for the directories structure
This commit is contained in:
parent
157cb9c971
commit
41a2aee38c
59 changed files with 177 additions and 137 deletions
|
@ -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/"
|
||||
|
|
|
@ -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 {} \;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
livereload client/angular -e scss
|
||||
livereload client/app -e scss
|
||||
|
|
|
@ -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/"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue