mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-04-27 14:57:40 +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:
|
compile:
|
||||||
@echo
|
@echo
|
||||||
./bin/compile.sh .
|
./bin/compile .
|
||||||
|
|
||||||
publish: compile
|
publish: compile
|
||||||
@echo
|
@echo
|
||||||
./bin/publish.sh --delete
|
./bin/publish --delete
|
||||||
|
|
||||||
publish_beta: compile
|
publish_beta: compile
|
||||||
@echo
|
@echo
|
||||||
./bin/publish.sh --beta --delete
|
./bin/publish --beta --delete
|
||||||
|
|
||||||
.PHONY: compile publish publish_beta
|
.PHONY: compile publish publish_beta
|
||||||
|
|
|
||||||
|
|
@ -27,14 +27,14 @@ function main() {
|
||||||
# munge_html
|
# munge_html
|
||||||
|
|
||||||
# echo "* inline CSS"
|
# echo "* inline CSS"
|
||||||
# ruby -w $THIS_DIR/inline-css.rb "$TARGET_DIR"
|
# ruby -w $THIS_DIR/inline-css "$TARGET_DIR"
|
||||||
|
|
||||||
# echo "* minify js"
|
# echo "* minify js"
|
||||||
# minify_js
|
# minify_js
|
||||||
}
|
}
|
||||||
|
|
||||||
function compile_feeds() {
|
function compile_feeds() {
|
||||||
ruby -w $THIS_DIR/feeds.rb $SOURCE_DIR/public
|
ruby -w $THIS_DIR/feeds $SOURCE_DIR/public
|
||||||
}
|
}
|
||||||
|
|
||||||
function munge_html() {
|
function munge_html() {
|
||||||
|
|
@ -22,7 +22,7 @@ end
|
||||||
def main
|
def main
|
||||||
dir = ARGV.shift.to_s
|
dir = ARGV.shift.to_s
|
||||||
unless File.directory? dir
|
unless File.directory? dir
|
||||||
puts 'usage: feeds.rb <dir>'
|
puts 'usage: feeds <dir>'
|
||||||
exit 1
|
exit 1
|
||||||
end
|
end
|
||||||
b = Blag.new dir
|
b = Blag.new dir
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
for site in Tests/test-*; do
|
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"
|
diff -r "$site/expected" "$site/actual"
|
||||||
rm -r "$site/actual"
|
rm -r "$site/actual"
|
||||||
done
|
done
|
||||||
Loading…
Reference in a new issue