Remove dev build of userscript.

This commit is contained in:
ccd0 2016-04-09 20:09:34 -07:00
parent 0c45d5c427
commit 3016b2a7a1
2 changed files with 4 additions and 11 deletions

View File

@ -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'
]

View File

@ -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",