aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-01-03 12:01:21 -0500
committerJesús <heckyel@hyperbola.info>2019-01-03 12:01:21 -0500
commit000dcbba68aadbdcc3985b833bbaf7aee2d8d9f1 (patch)
tree957f0f2357a941c38490846bab7b21550ff159f7 /build.sh
parent068d4e12f27967978968eba1ee901e4bb96c851c (diff)
downloadlibresocial-000dcbba68aadbdcc3985b833bbaf7aee2d8d9f1.tar.lz
libresocial-000dcbba68aadbdcc3985b833bbaf7aee2d8d9f1.tar.xz
libresocial-000dcbba68aadbdcc3985b833bbaf7aee2d8d9f1.zip
refactoring code to dist
Diffstat (limited to 'build.sh')
-rw-r--r--[-rwxr-xr-x]build.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/build.sh b/build.sh
index 8a76886..f57efe8 100755..100644
--- a/build.sh
+++ b/build.sh
@@ -10,12 +10,12 @@ fi
# copy files to fonts
if [[ -n "$(ls -a ./lab/libresocial.{svg,otf,ttf,woff})" ]];
then
- rm -fv ./fonts/libresocial.{svg,otf,ttf,woff}
- mv -fv ./lab/libresocial.{svg,otf,ttf,woff} ./fonts/
+ rm -fv ./dist/fonts/libresocial.{svg,otf,ttf,woff}
+ mv -fv ./lab/libresocial.{svg,otf,ttf,woff} ./dist/fonts/
fi
-if [[ -n "$(ls -a ./css/libresocial.css)" ]];
+if [[ -n "$(ls -a ./dist/css/libresocial.css)" ]];
then
- rm -v ./css/libresocial.css
- sass --style expanded --sourcemap=none scss/libresocial.scss:css/libresocial.css
+ rm -v ./dist/css/libresocial.css
+ sass --style expanded --sourcemap=none scss/libresocial.scss:dist/css/libresocial.css
fi