Left: | ||
Right: |
OLD | NEW |
---|---|
1 /* | 1 /* |
2 * This file is part of the Adblock Plus build tools, | 2 * This file is part of the Adblock Plus build tools, |
3 * Copyright (C) 2006-2014 Eyeo GmbH | 3 * Copyright (C) 2006-2014 Eyeo GmbH |
4 * | 4 * |
5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
8 * | 8 * |
9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 * GNU General Public License for more details. | 12 * GNU General Public License for more details. |
13 * | 13 * |
14 * You should have received a copy of the GNU General Public License | 14 * You should have received a copy of the GNU General Public License |
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
16 */ | 16 */ |
17 | 17 |
18 { | 18 { |
19 "manifest_version": 2, | 19 "manifest_version": 2, |
20 "name": "__MSG_name__{% if experimentalAPI %} experimental build{% endif %}", | 20 {%- if releaseBuild %} |
Sebastian Noack
2014/04/25 09:19:01
LGTM, assuming that the "experimental build" is de
Wladimir Palant
2014/04/25 09:46:52
It is, we no longer link to the experimental build
| |
21 "name": "__MSG_name__", | |
22 {%- else %} | |
23 "name": "__MSG_name_devbuild__", | |
24 {%- endif %} | |
25 | |
21 "description": "__MSG_description_{{ type }}__", | 26 "description": "__MSG_description_{{ type }}__", |
22 "default_locale": "en_US", | 27 "default_locale": "en_US", |
23 "version": {{version|json}}, | 28 "version": {{version|json}}, |
24 | 29 |
25 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'chrom e') %} | 30 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'chrom e') %} |
26 "minimum_chrome_version": {{metadata.get('compat', 'chrome')|json}}, | 31 "minimum_chrome_version": {{metadata.get('compat', 'chrome')|json}}, |
27 {%- endif %} | 32 {%- endif %} |
28 | 33 |
29 {%- if not releaseBuild %} | 34 {%- if not releaseBuild and type != "chrome" %} |
30 "update_url": "https://adblockplus.org/devbuilds/ | 35 "update_url": "https://adblockplus.org/devbuilds/ |
31 {{- metadata.get('general', 'basename') -}} | 36 {{- metadata.get('general', 'basename') -}} |
32 {%- if experimentalAPI -%} | 37 {%- if experimentalAPI -%} |
33 -experimental | 38 -experimental |
34 {%- endif -%} | 39 {%- endif -%} |
35 /updates.xml", | 40 /updates.xml", |
36 {%- elif metadata.has_option('general', 'updateURL') %} | 41 {%- elif metadata.has_option('general', 'updateURL') %} |
37 "update_url": {{metadata.get('general', 'updateURL')|json}}, | 42 "update_url": {{metadata.get('general', 'updateURL')|json}}, |
38 {%- endif %} | 43 {%- endif %} |
39 | 44 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
78 {%- if contentScripts %} | 83 {%- if contentScripts %} |
79 "content_scripts": {{contentScripts|json}}, | 84 "content_scripts": {{contentScripts|json}}, |
80 {%- endif %} | 85 {%- endif %} |
81 | 86 |
82 {%- if webAccessible %} | 87 {%- if webAccessible %} |
83 "web_accessible_resources": {{webAccessible|json}}, | 88 "web_accessible_resources": {{webAccessible|json}}, |
84 {%- endif %} | 89 {%- endif %} |
85 | 90 |
86 "_dummy": false | 91 "_dummy": false |
87 } | 92 } |
OLD | NEW |