Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8f93f20372
Fetching contributors…

Cannot retrieve contributors at this time

executable file 27 lines (19 sloc) 0.562 kb
#!/bin/bash --norc
# Which specs do we want to publish?
specs=". dom4 es6 es5 xhr2 html5"
# Thanks! I'll do that.
git checkout gh-pages || exit
git merge master || exit
for spec in $specs
do
if [[ -e "$spec/Readme.md" ]]; then
cat header.html > "$spec/index.html"
cat "$spec/Readme.md" | Markdown.pl \
| sed "s,https://github.com/espadrine/New-In-A-Spec/tree/master,.," \
>> "$spec/index.html"
fi
done
git add "$spec/index.html"
git commit -am"I luv publishing stuff on github ❤ !"
git push origin gh-pages
git checkout master
Jump to Line
Something went wrong with that request. Please try again.