Revert "add beta/dev to userscript names so beta/developement versions can be installed alongside stable"
This reverts commit 047381bb5d6637c2e762c57d3aca53aa587a9b29.
This commit is contained in:
parent
8be82269e2
commit
dbea116828
@ -103,9 +103,7 @@ module.exports = (grunt) ->
|
|||||||
src: '*'
|
src: '*'
|
||||||
dest: 'builds/'
|
dest: 'builds/'
|
||||||
expand: true
|
expand: true
|
||||||
filter: (src) ->
|
filter: 'isFile'
|
||||||
pkg = grunt.config 'pkg'
|
|
||||||
grunt.file.isFile(src) and src isnt "testbuilds/#{pkg.name}#{pkg.meta.suffix.dev}.user.js"
|
|
||||||
|
|
||||||
coffee:
|
coffee:
|
||||||
script:
|
script:
|
||||||
@ -196,11 +194,7 @@ module.exports = (grunt) ->
|
|||||||
builds: 'builds'
|
builds: 'builds'
|
||||||
testbuilds: 'testbuilds'
|
testbuilds: 'testbuilds'
|
||||||
tmpcrx: ['tmp-crx', 'testbuilds/updates<%= pkg.meta.suffix.noupdate %>.xml']
|
tmpcrx: ['tmp-crx', 'testbuilds/updates<%= pkg.meta.suffix.noupdate %>.xml']
|
||||||
tmpuserscript: [
|
tmpuserscript: ['tmp-userscript', 'testbuilds/<%= pkg.name %><%= pkg.meta.suffix.noupdate %>.meta.js']
|
||||||
'tmp-userscript',
|
|
||||||
'testbuilds/<%= pkg.name %><%= pkg.meta.suffix.noupdate %>.meta.js',
|
|
||||||
'testbuilds/<%= pkg.name %><%= pkg.meta.suffix.dev %>.meta.js'
|
|
||||||
]
|
|
||||||
|
|
||||||
markdown:
|
markdown:
|
||||||
web:
|
web:
|
||||||
@ -274,8 +268,6 @@ module.exports = (grunt) ->
|
|||||||
'concat:userscript'
|
'concat:userscript'
|
||||||
'set-channel:noupdate'
|
'set-channel:noupdate'
|
||||||
'concat:userscript'
|
'concat:userscript'
|
||||||
'set-channel:dev'
|
|
||||||
'concat:userscript'
|
|
||||||
'clean:tmpuserscript'
|
'clean:tmpuserscript'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@ -22,14 +22,7 @@
|
|||||||
"suffix": {
|
"suffix": {
|
||||||
"stable": "",
|
"stable": "",
|
||||||
"beta": "-beta",
|
"beta": "-beta",
|
||||||
"noupdate": "-noupdate",
|
"noupdate": "-noupdate"
|
||||||
"dev": "-dev"
|
|
||||||
},
|
|
||||||
"namesuffix": {
|
|
||||||
"stable": "",
|
|
||||||
"beta": " beta",
|
|
||||||
"noupdate": "",
|
|
||||||
"dev": " dev"
|
|
||||||
},
|
},
|
||||||
"min": {
|
"min": {
|
||||||
"chrome": "32",
|
"chrome": "32",
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name <%= meta.name %><%= meta.namesuffix[channel] %>
|
// @name <%= meta.name %>
|
||||||
// @version <%= meta.version %>
|
// @version <%= meta.version %>
|
||||||
// @minGMVer <%= meta.min.greasemonkey %>
|
// @minGMVer <%= meta.min.greasemonkey %>
|
||||||
// @minFFVer <%= meta.min.firefox %>
|
// @minFFVer <%= meta.min.firefox %>
|
||||||
@ -18,7 +18,7 @@
|
|||||||
// @grant GM_openInTab
|
// @grant GM_openInTab
|
||||||
// @grant GM_xmlhttpRequest
|
// @grant GM_xmlhttpRequest
|
||||||
// @run-at document-start
|
// @run-at document-start
|
||||||
<% if (channel !== 'dev') { %><% if (channel !== 'noupdate') { %>// @updateURL <%= meta.downloads %><%= name %><%= meta.suffix[channel] %>.meta.js
|
<% if (channel !== 'noupdate') { %>// @updateURL <%= meta.downloads %><%= name %><%= meta.suffix[channel] %>.meta.js
|
||||||
<% } %>// @downloadURL <%= meta.downloads %><%= name %><%= meta.suffix[channel] %>.user.js
|
<% } %>// @downloadURL <%= meta.downloads %><%= name %><%= meta.suffix[channel] %>.user.js
|
||||||
<% } %>// @icon data:image/png;base64,<%= grunt.file.read('src/General/img/icon48.png', {encoding: 'base64'}) %>
|
// @icon data:image/png;base64,<%= grunt.file.read('src/General/img/icon48.png', {encoding: 'base64'}) %>
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user