Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Zip archive also works on windows out of the box

  • Loading branch information...
commit eb994003f59522f44a4f8645a42413bcfbc65420 1 parent a84287a
Armin Ronacher authored
Showing with 10 additions and 5 deletions.
  1. +1 −1  .gitignore
  2. +1 −1  README
  3. +8 −3 bundle.sh
2  .gitignore
View
@@ -1 +1 @@
-sink
+*.zip
2  README
View
@@ -5,7 +5,7 @@
~ What is this?
- This repository contains a script that builds a tarball
+ This repository contains a script that builds a zip archive
of Flask, Werkzeug and Jinja2 together with an example
project that shows how Flask can be used.
11 bundle.sh
View
@@ -4,9 +4,8 @@ WERKZEUG_VERSION=0.6.2
FLASK_VERSION=0.6.1
JINJA_VERSION=2.5.5
-rm -rf sink
-mkdir -p "sink"
-cd sink
+mkdir -p _sink
+cd _sink
mkdir tmp
cd tmp
@@ -37,3 +36,9 @@ rmdir tmp
# Example code
cp -R ../example-code/* .
+
+# Package it up
+cd ..
+mv _sink Flask-Kitchensink-${FLASK_VERSION}
+zip -r Flask-Kitchensink-${FLASK_VERSION}.zip Flask-Kitchensink-${FLASK_VERSION}
+rm -rf Flask-Kitchensink-${FLASK_VERSION}
Please sign in to comment.
Something went wrong with that request. Please try again.