17 Commits

Author SHA1 Message Date
Jon Atkins
edd03dcdb6 build.py fix for differences in string handling in python 2 and python 3
fix #65
2013-03-25 16:27:40 +00:00
Fragger
5474b893a6 Add in base64 image encoding to build system and move images over to use it 2013-03-23 10:31:06 -07:00
Jon Atkins
d0245394a3 build.py - read optional defaultBuild from localbuildsettings.py
fix for #20

also, some other minor tweaks/cleanups in that area of the code
2013-03-22 03:55:00 +00:00
Jon Atkins
f0e3de1a80 fix build.py so it works with python3 2013-03-21 14:45:44 +00:00
Jon Atkins
06778b2a6a build improvements
- add optional localbuildsettings.py
- remove the 'jonatkins' and 'jonatkins-dev' from buildsettings.py - some devs were using them and it'll give them unexpected update behaviour
- add a 'local' build - uses the public release for external resources (rather than a local web server as for local8000), but no distUrlBase. perfect for code-only changes
- distUrlBase can now be None - no more wacky invalid URLs

(the resourceUrlBase will become redundant once all resources are embedded, but that's still pending)
2013-03-21 03:36:12 +00:00
Jon Atkins
bd2f371d64 autobuild.sh passes through build name to build.py
build.py gives useful error message when no build name is supplied
2013-03-19 23:53:46 +00:00
Jon Atkins
4a0f2aa5e4 added a build settings file, and build script uses it
ignored compiled python .pyc files
2013-03-19 23:43:15 +00:00
Jon Atkins
4ce0da5056 large chunk of work towards a nicer build system
- plugins are now parsed for @@..@@ replacements
- main script and plugins have separate .meta.js files created - less web server load for update checks
- build script has variables for resource URL, update URL, etc, substituted via @@..@@ into main script and all plugins
2013-03-19 22:39:16 +00:00
Michael Stapelberg
f34c230c93 Use io.open to support python 2.x _and_ python 3 2013-02-26 00:25:13 +01:00
Stefan Breunig
538b57c7f7 Due to ingress.com/intel now force-redirecting to the HTTPS version,
loading dependencies just got a lot harder. External JS and CSS files
are now included directly in the file while building. This does not yet
work for plugins. I will make an emergency release soon, so at least
main works.
2013-02-25 23:58:07 +01:00
Stefan Breunig
1efb30d73f typos 2013-02-11 19:10:15 +01:00
Stefan Breunig
35312293cd debug build gets new filename 2013-02-11 17:40:42 +01:00
Stefan Breunig
b4f273e80b user newer Python, old one may have issues with utf-8 2013-02-11 11:43:27 +01:00
Cameron Moon
81ed7e279c fixed #100 by explictly setting encoding (credit to breunigs) 2013-02-11 19:24:41 +11:00
Stefan Breunig
dcb7075dda remove ruby build script. Python is used for the local web server anyway, so don’t introduce further dependencies for such a trivial taask as concatenating files. 2013-02-09 18:01:11 +01:00
Evan Paul Fletcher
d73eebdd32 fix for line endings 2013-02-07 20:39:01 -07:00
Evan Paul Fletcher
fd8abd174e add build.py 2013-02-07 19:29:19 -07:00