diff options
-rwxr-xr-x | build.sh | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,6 +1,10 @@ #!/bin/sh -[ -d dist ] && rm -r dist -mkdir dist +script="$0" +path="$(dirname $(realpath "$script"))" +dist="$path/dist" +site="$path/site" -shblg -i site -o dist +[ ! -d "$dist" ] && mkdir "$dist" + +shblg -i "$site" -o "$dist" |