Merge tmp-crx and tmp-userscript directories.
This commit is contained in:
parent
146745b81d
commit
11ab484acf
3
.gitignore
vendored
3
.gitignore
vendored
@ -2,8 +2,7 @@ node_modules/
|
|||||||
*~
|
*~
|
||||||
*.db
|
*.db
|
||||||
*.DS_Store
|
*.DS_Store
|
||||||
tmp-crx/
|
tmp/
|
||||||
tmp-userscript/
|
|
||||||
testbuilds/
|
testbuilds/
|
||||||
test.html
|
test.html
|
||||||
captchas.html
|
captchas.html
|
||||||
|
|||||||
@ -130,7 +130,7 @@ module.exports = (grunt) ->
|
|||||||
'src/General/Settings.coffee'
|
'src/General/Settings.coffee'
|
||||||
'src/General/Main.coffee'
|
'src/General/Main.coffee'
|
||||||
]
|
]
|
||||||
dest: 'tmp-<%= pkg.type %>/script.coffee'
|
dest: 'tmp/script-<%= pkg.type %>.coffee'
|
||||||
crx:
|
crx:
|
||||||
files:
|
files:
|
||||||
'testbuilds/updates<%= pkg.meta.suffix[pkg.channel] %>.xml': 'src/meta/updates.xml'
|
'testbuilds/updates<%= pkg.meta.suffix[pkg.channel] %>.xml': 'src/meta/updates.xml'
|
||||||
@ -139,9 +139,9 @@ module.exports = (grunt) ->
|
|||||||
'src/meta/botproc.js'
|
'src/meta/botproc.js'
|
||||||
'LICENSE'
|
'LICENSE'
|
||||||
'src/meta/usestrict.js'
|
'src/meta/usestrict.js'
|
||||||
'tmp-<%= pkg.type %>/script.js'
|
'tmp/script-crx.js'
|
||||||
]
|
]
|
||||||
'testbuilds/crx<%= pkg.meta.suffix[pkg.channel] %>/eventPage.js': 'tmp-<%= pkg.type %>/eventPage.js'
|
'testbuilds/crx<%= pkg.meta.suffix[pkg.channel] %>/eventPage.js': 'tmp/eventPage-crx.js'
|
||||||
userscript:
|
userscript:
|
||||||
files:
|
files:
|
||||||
'testbuilds/<%= pkg.name %><%= pkg.meta.suffix[pkg.channel] %>.meta.js': 'src/meta/metadata.js'
|
'testbuilds/<%= pkg.name %><%= pkg.meta.suffix[pkg.channel] %>.meta.js': 'src/meta/metadata.js'
|
||||||
@ -150,7 +150,7 @@ module.exports = (grunt) ->
|
|||||||
'src/meta/metadata.js'
|
'src/meta/metadata.js'
|
||||||
'LICENSE'
|
'LICENSE'
|
||||||
'src/meta/usestrict.js'
|
'src/meta/usestrict.js'
|
||||||
'tmp-<%= pkg.type %>/script.js'
|
'tmp/script-userscript.js'
|
||||||
]
|
]
|
||||||
|
|
||||||
copy:
|
copy:
|
||||||
@ -178,11 +178,11 @@ module.exports = (grunt) ->
|
|||||||
|
|
||||||
coffee:
|
coffee:
|
||||||
script:
|
script:
|
||||||
src: 'tmp-<%= pkg.type %>/script.coffee'
|
src: 'tmp/script-<%= pkg.type %>.coffee'
|
||||||
dest: 'tmp-<%= pkg.type %>/script.js'
|
dest: 'tmp/script-<%= pkg.type %>.js'
|
||||||
eventPage:
|
eventPage:
|
||||||
src: 'src/General/eventPage.coffee'
|
src: 'src/General/eventPage.coffee'
|
||||||
dest: 'tmp-<%= pkg.type %>/eventPage.js'
|
dest: 'tmp/eventPage-crx.js'
|
||||||
|
|
||||||
concurrent:
|
concurrent:
|
||||||
build: [
|
build: [
|
||||||
@ -306,7 +306,7 @@ module.exports = (grunt) ->
|
|||||||
clean:
|
clean:
|
||||||
builds: 'builds'
|
builds: 'builds'
|
||||||
testbuilds: 'testbuilds'
|
testbuilds: 'testbuilds'
|
||||||
tmp: ['tmp-crx', 'tmp-userscript']
|
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',
|
||||||
@ -348,7 +348,7 @@ module.exports = (grunt) ->
|
|||||||
pkg = grunt.file.readJSON 'package.json'
|
pkg = grunt.file.readJSON 'package.json'
|
||||||
globals[v] = true for v in pkg.meta.grants
|
globals[v] = true for v in pkg.meta.grants
|
||||||
globals
|
globals
|
||||||
script: 'tmp-<%= pkg.type %>/*.js'
|
script: 'tmp/*-<%= pkg.type %>.js'
|
||||||
|
|
||||||
require('load-grunt-tasks') grunt
|
require('load-grunt-tasks') grunt
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user