diff --git a/bin/compile b/bin/compile index 1a390ec..acbb2d5 100755 --- a/bin/compile +++ b/bin/compile @@ -8,6 +8,8 @@ SOURCE_DIR="$1" TARGET_DIR="$2" function main() { + rm -rf "$TARGET_DIR" + echo "* generate site from $SOURCE_DIR into $TARGET_DIR" "$THIS_DIR/sitegen" "$SOURCE_DIR" "$TARGET_DIR" diff --git a/bin/test b/bin/test index 27c8b19..f24d106 100755 --- a/bin/test +++ b/bin/test @@ -8,7 +8,6 @@ cp .build/x86_64-apple-macosx/debug/SiteGenerator ../bin/sitegen popd >/dev/null for site in Tests/test-*; do - rm -rf "$site/actual" bin/compile "$site/in" "$site/actual" # >/dev/null diff -ru "$site/expected" "$site/actual" rm -r "$site/actual"