From a3527829b844bb28fc27687ae5b7a4eec61f0382 Mon Sep 17 00:00:00 2001 From: Cole Bemis Date: Sun, 1 Apr 2018 16:26:54 -0700 Subject: [PATCH] chore: Add comments to build script --- bin/build.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bin/build.sh b/bin/build.sh index 32610cf..42602e2 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -1,15 +1,25 @@ #!/bin/bash +# Process SVG files ./node_modules/.bin/babel-node bin/process-svgs.js +# Create dist directory ./node_modules/.bin/rimraf dist mkdir dist + +# Build icons.json ./node_modules/.bin/babel-node bin/build-icons-json.js + +# Build SVG sprite ./node_modules/.bin/babel-node bin/build-sprite.js +# Create dist/icons directory ./node_modules/.bin/rimraf dist/icons mkdir dist/icons + +# Build SVG icons ./node_modules/.bin/babel-node bin/build-svgs.js +# Build JavaScript library ./node_modules/.bin/webpack --output-filename feather.js ./node_modules/.bin/webpack --output-filename feather.min.js -p