Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/ratchet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4aeb1b1..5f2b8d6 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,11 @@ gh-pages: build
cp -r docs/ gh-pages/
cp -r lib gh-pages/lib
cp -r dist gh-pages/dist
- zip -r gh-pages/dist.zip gh-pages/dist
+ cd gh-pages
+ cp -r dist ratchet
+ zip -r ratchet.zip ratchet
+ rm -rf ratchet
+ cd ..
git fetch origin
git checkout gh-pages
sed -i -e 's/\.\.\//\.\//g' gh-pages/index.html