Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added update gh-pages task

  • Loading branch information...
commit 6cb8f91da3cecdcd39d3ad6522aeaec59d756b70 1 parent 23f8083
Alexey Zapparov ixti authored
Showing with 17 additions and 4 deletions.
  1. +10 −4 Makefile
  2. +7 −0 index.html
14 Makefile
View
@@ -1,12 +1,12 @@
PATH := ./node_modules/.bin:${PATH}
-.SILENT: test test_functional test_issues
+.SILENT: test test-functional test-issues
-test: test_functional test_issues
+test: test-functional test-issues
-test_issues:
+test-issues:
echo
echo "## ISSUES ######################################################################"
echo "################################################################################"
@@ -14,7 +14,7 @@ test_issues:
node ./test/issues/run.js
echo
-test_functional:
+test-functional:
echo
echo "## FUNCTIONAL ##################################################################"
echo "################################################################################"
@@ -32,3 +32,9 @@ browserify:
uglify:
if test ! `which uglifyjs` ; then npm install uglify-js ; fi
uglifyjs js-yaml.js > js-yaml.min.js
+
+gh-pages: build
+ git checkout -b gh-pages
+ git commit -am
+ git push origin gh-pages
+ git checkout master
7 index.html
View
@@ -0,0 +1,7 @@
+<html>
+<head>
+<meta http-equiv="refresh" content="0;url=demo/index.html">
+<title>Redirecting...</title>
+</head>
+<body>Redirecting to <a href="demo/index.html">demo page</a>.</body>
+</html>
Please sign in to comment.
Something went wrong with that request. Please try again.