From 491de8a3f70f70422edfd0b14383e96313248cfc Mon Sep 17 00:00:00 2001 From: Sergey Lapin Date: Tue, 21 Jul 2015 11:17:05 +0300 Subject: [PATCH 1/4] add demo link to readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index b5aacdd1..b652a633 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ Redux DevTools ========================= +### [DEMO](http://gaearon.github.io/redux-devtools/) + A better README is coming. But if you insist... From 18aa7d68c79876e3c63f4e7e0a0754e7c2ba7885 Mon Sep 17 00:00:00 2001 From: Sergey Lapin Date: Fri, 24 Jul 2015 12:37:35 +0300 Subject: [PATCH 2/4] add demo build script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 97971303..edb55a9e 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "test": "NODE_ENV=test mocha --compilers js:babel/register --recursive", "test:watch": "NODE_ENV=test mocha --compilers js:babel/register --recursive --watch", "test:cov": "babel-node ./node_modules/.bin/isparta cover ./node_modules/.bin/_mocha -- --recursive", - "prepublish": "npm run lint && npm run test && npm run clean && npm run build" + "prepublish": "npm run lint && npm run test && npm run clean && npm run build", + "demo":"git checkout gh-pages && cd examples/todomvc && webpack && cd ../../ && git add . && git commit -m \"rebuild todomvc bundle for demo\" && git push --force && git checkout master" }, "repository": { "type": "git", From a48cce54396fa376be6d282763ac610d171fe72e Mon Sep 17 00:00:00 2001 From: Sergey Lapin Date: Fri, 24 Jul 2015 13:09:25 +0300 Subject: [PATCH 3/4] add sh and use it with nom --- demo.sh | 17 +++++++++++++++++ package.json | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 demo.sh diff --git a/demo.sh b/demo.sh new file mode 100644 index 00000000..9f3135f6 --- /dev/null +++ b/demo.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +set -o errexit # Exit on error + +git stash save +git checkout gh-pages +cd examples/todomvc +webpack +git add . +if git commit -m 'rebuild todomvc bundle for demo'; then # Commit the changes, if any + echo 'Changes Committed' +if git push --force; then # Commit the changes, if any + echo 'Pushed succecfully' +fi +fi +git checkout master +git stash apply \ No newline at end of file diff --git a/package.json b/package.json index edb55a9e..2f332770 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "test:watch": "NODE_ENV=test mocha --compilers js:babel/register --recursive --watch", "test:cov": "babel-node ./node_modules/.bin/isparta cover ./node_modules/.bin/_mocha -- --recursive", "prepublish": "npm run lint && npm run test && npm run clean && npm run build", - "demo":"git checkout gh-pages && cd examples/todomvc && webpack && cd ../../ && git add . && git commit -m \"rebuild todomvc bundle for demo\" && git push --force && git checkout master" + "demo":"bash ./demo.sh" }, "repository": { "type": "git", From 9898c0c8abce897f7c5133c35a4f713fb482561d Mon Sep 17 00:00:00 2001 From: Sergey Lapin Date: Fri, 24 Jul 2015 19:59:53 +0300 Subject: [PATCH 4/4] forget to update from master - fix this --- demo.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demo.sh b/demo.sh index 9f3135f6..763d06a9 100644 --- a/demo.sh +++ b/demo.sh @@ -4,6 +4,7 @@ set -o errexit # Exit on error git stash save git checkout gh-pages +git pull --rebase origin master cd examples/todomvc webpack git add . @@ -14,4 +15,4 @@ if git push --force; then # Commit the changes, if any fi fi git checkout master -git stash apply \ No newline at end of file +git stash apply