mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
Remove pointless file extensions
This commit is contained in:
parent
03bdab61f2
commit
57bdf5d14a
9 changed files with 7 additions and 7 deletions
6
Makefile
6
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
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
@ -22,7 +22,7 @@ end
|
|||
def main
|
||||
dir = ARGV.shift.to_s
|
||||
unless File.directory? dir
|
||||
puts 'usage: feeds.rb <dir>'
|
||||
puts 'usage: feeds <dir>'
|
||||
exit 1
|
||||
end
|
||||
b = Blag.new dir
|
||||
|
|
@ -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
|
||||
Loading…
Reference in a new issue