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

View File

@ -1,11 +1,11 @@
// ==UserScript==
// @id iitc-plugin-ap-list@xelio
// @name iitc: AP List
// @version 0.4.1
// @name IITC plugin: AP List
// @version 0.4.1.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL http://iitc.jonatkins.com/dist/plugins/ap-list.user.js
// @downloadURL http://iitc.jonatkins.com/plugins/ap-list.user.js
// @description List top 10 portals by AP of either faction. Other functions and controls please refer to the Userguide. (https://github.com/breunigs/ingress-intel-total-conversion/wiki/Userguide-%28Main-Vanilla-IITC%29#wiki-pluginsAPListUserGuide)
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
// @description List top 10 portals by AP of either faction. Other functions and controls please refer to the Userguide.
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*
// @match https://www.ingress.com/intel*

View File

@ -1,10 +1,10 @@
// ==UserScript==
// @id iitc-plugin-compute-ap-stats@Hollow011
// @name iitc: Compute AP statistics
// @version 0.3.1
// @name IITC plugin: Compute AP statistics
// @version 0.3.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL http://iitc.jonatkins.com/dist/plugins/compute-ap-stats.user.js
// @downloadURL http://iitc.jonatkins.com/plugins/compute-ap-stats.user.js
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
// @description Tries to determine overal AP stats for the current zoom
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*

View File

@ -1,10 +1,10 @@
// ==UserScript==
// @id iitc-plugin-draw-tools@breunigs
// @name iitc: draw tools
// @version 0.2.3
// @name IITC plugin: draw tools
// @version 0.2.3.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL http://iitc.jonatkins.com/dist/plugins/draw-tools.user.js
// @downloadURL http://iitc.jonatkins.com/dist/plugins/draw-tools.user.js
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
// @description Allows you to draw things into the current map so you may plan your next move
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*

View File

@ -1,10 +1,10 @@
// ==UserScript==
// @id iitc-plugin-guess-player-levels@breunigs
// @name iitc: guess player level
// @version 0.3.1
// @name IITC plugin: guess player level
// @version 0.3.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL http://iitc.jonatkins.com/dist/plugins/guess-player-levels.user.js
// @downloadURL http://iitc.jonatkins.com/dist/plugins/guess-player-levels.user.js
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
// @description Tries to determine player levels from the data available in the current view
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*

View File

@ -1,9 +1,9 @@
// ==UserScript==
// @id max-links@boombuler
// @name iitc: Max-Links-Plugin
// @version 0.2.1
// @updateURL http://iitc.jonatkins.com/dist/plugins/max-links.user.js
// @downloadURL http://iitc.jonatkins.com/dist/plugins/max-links.user.js
// @name IITC plugin: Max Links
// @version 0.2.1.@@DATETIMEVERSION@@
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
// @description Calculates how to link the portals to create the maximum number of fields.
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*

View File

@ -1,10 +1,10 @@
// ==UserScript==
// @id iitc-plugin-player-tracker@breunigs
// @name iitc: player tracker
// @version 0.7.2
// @name IITC Plugin: player tracker
// @version 0.7.2.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL http://iitc.jonatkins.com/dist/plugins/player-tracker.user.js
// @downloadURL http://iitc.jonatkins.com/dist/plugins/player-tracker.user.js
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
// @description draws trails for the path a user went onto the map. Only draws the last hour. Does not request chat data on its own, even if that would be useful.
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*

View File

@ -1,10 +1,10 @@
// ==UserScript==
// @id iitc-plugin-render-limit-increase@jonatkins
// @name iitc: render limit increase
// @version 0.2
// @name IITC plugin: render limit increase
// @version 0.2.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL http://iitc.jonatkins.com/dist/plugins/render-limit-increase.user.js
// @downloadURL http://iitc.jonatkins.com/dist/plugins/render-limit-increase.user.js
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
// @description Increase the render limits, so less likely to be hit in higher density areas
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*

View File

@ -1,10 +1,10 @@
// ==UserScript==
// @id iitc-plugin-reso-energy-pct-in-portal-detail@xelio
// @name iitc: reso energy pct in portal detail
// @version 0.1.2
// @name IITC plugin: reso energy pct in portal detail
// @version 0.1.2.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL http://iitc.jonatkins.com/dist/plugins/reso-energy-pct-in-portal-detail.user.js
// @downloadURL http://iitc.jonatkins.com/dist/plugins/reso-energy-pct-in-portal-detail.user.js
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
// @description Show resonator energy percentage on resonator energy bar in portal detail panel.
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*

View File

@ -1,10 +1,10 @@
// ==UserScript==
// @id iitc-plugin-resonator-display-zoom-level-decrease@xelio
// @name iitc: resonator display zoom level decrease
// @version 1.0.2
// @name IITC plugin: resonator display zoom level decrease
// @version 1.0.2.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL http://iitc.jonatkins.com/dist/plugins/resonator-display-zoom-level-decrease.user.js
// @downloadURL http://iitc.jonatkins.com/dist/plugins/resonator-display-zoom-level-decrease.user.js
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
// @description Resonator start display earlier
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*

View File

@ -1,10 +1,10 @@
// ==UserScript==
// @id iitc-plugin-scale-bar@breunigs
// @name iitc: scale bar
// @version 0.1.1
// @name IITC plugin: scale bar
// @version 0.1.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL http://iitc.jonatkins.com/dist/plugins/scale-bar.user.js
// @downloadURL http://iitc.jonatkins.com/dist/plugins/scale-bar.user.js
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
// @description shows scale bar on the map
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*

View File

@ -1,10 +1,10 @@
// ==UserScript==
// @id iitc-plugin-scoreboard@vita10gy
// @name iitc: show a localized scoreboard.
// @version 0.1.4
// @name IITC plugin: show a localized scoreboard.
// @version 0.1.4.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL http://iitc.jonatkins.com/dist/plugins/scoreboard.user.js
// @downloadURL http://iitc.jonatkins.com/dist/plugins/scoreboard.user.js
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
// @description A localized scoreboard.
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*

View File

@ -1,10 +1,10 @@
// ==UserScript==
// @id iitc-plugin-show-address@vita10gy
// @name iitc: show portal address in sidebar
// @version 0.2.2
// @name IITC plugin: show portal address in sidebar
// @version 0.2.2.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL http://iitc.jonatkins.com/dist/plugins/show-address.user.js
// @downloadURL http://iitc.jonatkins.com/dist/plugins/show-address.user.js
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
// @description Portal address will show in the sidebar.
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*

View File

@ -1,10 +1,10 @@
// ==UserScript==
// @id iitc-plugin-show-portal-weakness@vita10gy
// @name iitc: show portal weakness
// @version 0.6.1
// @name IITC plugin: show portal weakness
// @version 0.6.1.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL http://iitc.jonatkins.com/dist/plugins/show-portal-weakness.user.js
// @downloadURL http://iitc.jonatkins.com/dist/plugins/show-portal-weakness.user.js
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
// @description Uses the fill color of the portals to denote if the portal is weak (Needs recharging, missing a resonator, needs shields) Red, needs energy and shields. Orange, only needs energy (either recharge or resonators). Yellow, only needs shields.
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*