Commits

Panayiotis Lipiridis committed 39df5d7 Merge

Merge with gae-init

Comments (0)

Files changed (2)

 automatically to `*.css` and `*.js` respectively:
 
     $ cd /path/to/project-name/main
-    $ ./build.py -wc
+    $ ./build.py -w
 
 To run the actual server (in another bash):
 
 Before deploying make sure that the `app.yaml` and `config.py` are up to date.
 
     $ cd /path/to/project/main
-    $ ./build.py
+    $ ./build.py -m
     $ appcfg.py update .
 
 Tech Stack
 --------
 
   - [Remby][]
-  - [The Smallest Creature][thesmallestcreature]
+  - [The smallest Creature][thesmallestcreature] ([open source][lessbands])
 
 Contributions and Ideas
 -----------------------
 [gaeinit]: http://gae-init.appspot.com
 [gaeinitpro]: http://pro.gae-init.appspot.com
 [gaeinitbit]: https://bitbucket.org/Lipis/gae-init
+[lessbands]: https://bitbucket.org/lipis/less-bands
 [gae]: https://developers.google.com/appengine/
 [gaepython]: https://developers.google.com/appengine/docs/python/python27/using27
 [ndb]: https://developers.google.com/appengine/docs/python/ndb/
 ################################################################################
 # Options
 ################################################################################
-if len(sys.argv) == 1:
-  sys.argv.append('-h')
-
 parser = argparse.ArgumentParser()
 parser.add_argument('-w', '--watch', dest='watch', action='store_true',
     help='watch files for changes when running the development web server',
     help='recompiles files when running the development web server',
   )
 parser.add_argument('-m', '--minify', dest='minify', action='store_true',
-    help='compiles files into minified version before deploying',
+    help='''compiles files into minified version before deploying, identical to
+    calling %s with no arguments''' % __file__,
   )
 args = parser.parse_args()
 
   compile_all_dst()
   print_out('DONE')
 
-if args.minify:
+if args.minify or len(sys.argv) == 1:
   print_out('MINIFY')
   clean_files()
   make_lib_zip(force=True)