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

View File

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