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)
This commit is contained in:
Jon Atkins
2013-03-21 03:36:12 +00:00
parent 8e7681427e
commit 06778b2a6a
3 changed files with 32 additions and 14 deletions

View File

@ -1,20 +1,30 @@
# settings file for builds.
# settings file for builds.
# if you want to have custom builds, copy this file to "localbuildsettings.py" and make changes there.
buildSettings = {
'jonatkins': {
# local: use this build if you're not modifying external resources
# external resources will be loaded from the public live release
'local': {
'resourceUrlBase': 'http://iitc.jonatkins.com/release',
'distUrlBase': 'https://secure.jonatkins.com/iitc/release',
'distUrlBase': None,
},
'jonatkins-dev': {
'resourceUrlBase': 'http://iitc.jonatkins.com/dev',
'distUrlBase': 'https://secure.jonatkins.com/iitc/dev',
},
# local8000: if you need to modify external resources, this build will load them from
# the web server at http://0.0.0.0:8000/dist
'local8000': {
'resourceUrlBase': 'http://0.0.0.0:8000/dist',
'distUrlBase': 'http://nohost.invalid/nopath',
'distUrlBase': None,
},
# if you want to publish your own fork of the project, and host it on your own web site
# create a localbuildsettings.py file containing something similar to this
# note: Firefox+Greasemonkey require the distUrlBase to be "https" - they won't check for updates on regular "http" URLs
#'example': {
# 'resourceBaseUrl': 'http://www.example.com/iitc/dist',
# 'distUrlBase': 'https://secure.example.com/iitc/dist',
#},
}