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
This commit is contained in:
Jon Atkins
2013-03-19 22:39:16 +00:00
parent 6984510ac9
commit 4ce0da5056
18 changed files with 149 additions and 74 deletions

12
main.js
View File

@ -1,11 +1,11 @@
// ==UserScript==
// @id ingress-intel-total-conversion@jonatkins
// @name intel map total conversion
// @version 0.9.0-@@BUILDDATE@@-jonatkins
// @name IITC: Ingress intel map total conversion
// @version 0.9.1.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL http://iitc.jonatkins.com/dist/total-conversion-build.user.js
// @downloadURL http://iitc.jonatkins.com/dist/total-conversion-build.user.js
// @description total conversion for the ingress intel map. (jonatkins branch)
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
// @description Total conversion for the ingress intel map. [@@BUILDNAME@@-@@BUILDDATE@@]
// @include http://www.ingress.com/intel*
// @include https://www.ingress.com/intel*
// @match http://www.ingress.com/intel*
@ -236,7 +236,7 @@ window.resonators = {};
if(typeof window.plugin !== 'function') window.plugin = function() {};
@@INJECTHERE@@
@@INJECTCODE@@
} // end of wrapper