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