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:
12
main.js
12
main.js
@ -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
|
||||
|
Reference in New Issue
Block a user