Remove dev build of userscript.
This commit is contained in:
parent
0c45d5c427
commit
3016b2a7a1
@ -93,7 +93,7 @@ module.exports = (grunt) ->
|
||||
expand: true
|
||||
filter: (src) ->
|
||||
pkg = grunt.config 'pkg'
|
||||
grunt.file.isFile(src) and not grunt.file.isMatch(src, "testbuilds/#{pkg.name}#{pkg.meta.suffix.dev}.user.js") and not /\.crx\.zip$/.test(src)
|
||||
grunt.file.isFile(src) and not /\.crx\.zip$/.test(src)
|
||||
install:
|
||||
files: if grunt.file.exists('install.json') then grunt.file.readJSON('install.json') else []
|
||||
web:
|
||||
@ -221,10 +221,7 @@ module.exports = (grunt) ->
|
||||
testbuilds: 'testbuilds'
|
||||
tmp: 'tmp'
|
||||
tmpcrx: 'testbuilds/updates<%= pkg.meta.suffix.noupdate %>.xml'
|
||||
tmpuserscript: [
|
||||
'testbuilds/<%= pkg.name %><%= pkg.meta.suffix.noupdate %>.meta.js',
|
||||
'testbuilds/<%= pkg.name %><%= pkg.meta.suffix.dev %>.meta.js'
|
||||
]
|
||||
tmpuserscript: 'testbuilds/<%= pkg.name %><%= pkg.meta.suffix.noupdate %>.meta.js'
|
||||
|
||||
require('load-grunt-tasks') grunt
|
||||
|
||||
@ -309,8 +306,6 @@ module.exports = (grunt) ->
|
||||
'build-userscript-channel'
|
||||
'set-channel:noupdate'
|
||||
'build-userscript-channel'
|
||||
'set-channel:dev'
|
||||
'build-userscript-channel'
|
||||
'clean:tmpuserscript'
|
||||
'copy:install'
|
||||
]
|
||||
|
||||
@ -43,14 +43,12 @@
|
||||
"suffix": {
|
||||
"stable": "",
|
||||
"beta": "-beta",
|
||||
"noupdate": "-noupdate",
|
||||
"dev": "-dev"
|
||||
"noupdate": "-noupdate"
|
||||
},
|
||||
"namesuffix": {
|
||||
"stable": "",
|
||||
"beta": " beta",
|
||||
"noupdate": "",
|
||||
"dev": " dev"
|
||||
"noupdate": ""
|
||||
},
|
||||
"min": {
|
||||
"chrome": "33",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user