diff --git a/README b/README new file mode 100644 index 0000000..c8f68c2 --- /dev/null +++ b/README @@ -0,0 +1 @@ +All that's missing is the fork. Heh. \ No newline at end of file diff --git a/forkit.gif b/forkit.gif new file mode 100644 index 0000000..a6a48b3 Binary files /dev/null and b/forkit.gif differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..79eddc4 --- /dev/null +++ b/index.html @@ -0,0 +1,63 @@ + + + + + + + Spoon-Knife + + + + + + + + + +

+ Fork me? No, fork you! +

+ + + diff --git a/util/create_ghpages.sh b/util/create_ghpages.sh new file mode 100755 index 0000000..a164ee1 --- /dev/null +++ b/util/create_ghpages.sh @@ -0,0 +1,46 @@ +#!/bin/sh + +# Copyright (c) 2011, XMOS Ltd, All rights reserved +# This software is freely distributable under a derivative of the +# University of Illinois/NCSA Open Source License posted in +# LICENSE.txt and at + +if [ $# -ne 1 ] +then + echo "Usage: $0 " + exit 1 +fi + +mod=$1 + +if [ -e ${mod}_gh_pages ] +then + echo "${mod}_gh_pages already exists" + exit 1 +fi + +if [ ! -d ${mod} -o ! -d ${mod}/.git ] +then + echo "Repo ${mod} not checked out here - quitting" + exit 2 +fi + +echo "About to create empty documentation branch ${mod}_gh_pages" +echo "This is a clone of the ${mod} repository on branch gh-pages" +echo "Hit return or ^C" + +read x + +git clone git@github.com:xcore/${mod}.git ${mod}_gh_pages || exit 1 + +cd ${mod}_gh_pages || exit 1 + +git symbolic-ref HEAD refs/heads/gh-pages || exit 1 +rm .git/index || exit 1 +git clean -fdx || exit 1 + +touch .nojekyll +git add .nojekyll +git commit -a -m "First pages commit" + +git push origin gh-pages