diff --git a/Makefile b/Makefile index c34eb49..204a924 100644 --- a/Makefile +++ b/Makefile @@ -2,14 +2,14 @@ all: compile compile: @echo - ./bin/compile.sh . + ./bin/compile . publish: compile @echo - ./bin/publish.sh --delete + ./bin/publish --delete publish_beta: compile @echo - ./bin/publish.sh --beta --delete + ./bin/publish --beta --delete .PHONY: compile publish publish_beta diff --git a/bin/bootstrap.sh b/bin/bootstrap similarity index 100% rename from bin/bootstrap.sh rename to bin/bootstrap diff --git a/bin/compile.sh b/bin/compile similarity index 93% rename from bin/compile.sh rename to bin/compile index 98e110d..d4e799f 100755 --- a/bin/compile.sh +++ b/bin/compile @@ -27,14 +27,14 @@ function main() { # munge_html # echo "* inline CSS" - # ruby -w $THIS_DIR/inline-css.rb "$TARGET_DIR" + # ruby -w $THIS_DIR/inline-css "$TARGET_DIR" # echo "* minify js" # minify_js } function compile_feeds() { - ruby -w $THIS_DIR/feeds.rb $SOURCE_DIR/public + ruby -w $THIS_DIR/feeds $SOURCE_DIR/public } function munge_html() { diff --git a/bin/feeds.rb b/bin/feeds similarity index 99% rename from bin/feeds.rb rename to bin/feeds index da9030d..740ad0a 100755 --- a/bin/feeds.rb +++ b/bin/feeds @@ -22,7 +22,7 @@ end def main dir = ARGV.shift.to_s unless File.directory? dir - puts 'usage: feeds.rb ' + puts 'usage: feeds ' exit 1 end b = Blag.new dir diff --git a/bin/inline-css.rb b/bin/inline-css similarity index 100% rename from bin/inline-css.rb rename to bin/inline-css diff --git a/bin/move.rb b/bin/move similarity index 100% rename from bin/move.rb rename to bin/move diff --git a/bin/publish.sh b/bin/publish similarity index 100% rename from bin/publish.sh rename to bin/publish diff --git a/bin/redirects.rb b/bin/redirects similarity index 100% rename from bin/redirects.rb rename to bin/redirects diff --git a/bin/test.sh b/bin/test similarity index 68% rename from bin/test.sh rename to bin/test index e06af7c..dce731b 100755 --- a/bin/test.sh +++ b/bin/test @@ -3,7 +3,7 @@ set -e for site in Tests/test-*; do - bin/compile.sh "$site/in" "$site/actual" >/dev/null + bin/compile "$site/in" "$site/actual" >/dev/null diff -r "$site/expected" "$site/actual" rm -r "$site/actual" done