Update build.sh
This commit is contained in:
@@ -34,12 +34,12 @@ do
|
||||
then
|
||||
cmd='python balloon.py'
|
||||
|
||||
files=$(
|
||||
files=($(
|
||||
find src -path "src/pages/*"\
|
||||
-type f\
|
||||
-name "*.html"\
|
||||
-print
|
||||
)
|
||||
))
|
||||
|
||||
target_ext='.html'
|
||||
|
||||
@@ -49,13 +49,13 @@ do
|
||||
then
|
||||
cmd='sass --update'
|
||||
|
||||
files=$(
|
||||
files=($(
|
||||
find src -path "src/styles/*"\
|
||||
-prune\
|
||||
-type f\
|
||||
-name "*.scss"\
|
||||
-print
|
||||
)
|
||||
))
|
||||
|
||||
target_ext='.css'
|
||||
|
||||
@@ -72,12 +72,12 @@ do
|
||||
then
|
||||
cmd='cwebp -z 9 -m 6'
|
||||
|
||||
files=$(
|
||||
files=($(
|
||||
find src -path "src/img/*"\
|
||||
-type f\
|
||||
-not -name "favicon.png"\
|
||||
-print
|
||||
)
|
||||
))
|
||||
|
||||
target_ext='.webp'
|
||||
target_opt='-o'
|
||||
|
||||
Reference in New Issue
Block a user