Remove TX from grunt file #5485
This commit is contained in:
parent
a55713d24a
commit
c396ee478c
18
Gruntfile.js
18
Gruntfile.js
|
@ -107,18 +107,6 @@ module.exports = function( grunt ){
|
|||
stdout: true,
|
||||
stderr: true
|
||||
},
|
||||
txpull: {
|
||||
command: [
|
||||
'cd i18n',
|
||||
'tx pull -a -f',
|
||||
].join( '&&' )
|
||||
},
|
||||
generatemos: {
|
||||
command: [
|
||||
'cd i18n/languages',
|
||||
'for i in *.po; do msgfmt $i -o ${i%%.*}.mo; done'
|
||||
].join( '&&' )
|
||||
},
|
||||
generatepot: {
|
||||
command: [
|
||||
'cd i18n/makepot/',
|
||||
|
@ -193,13 +181,11 @@ module.exports = function( grunt ){
|
|||
|
||||
grunt.registerTask( 'dev', [
|
||||
'default',
|
||||
'shell:txpull',
|
||||
'shell:generatemos'
|
||||
'pot'
|
||||
]);
|
||||
|
||||
grunt.registerTask( 'deploy', [
|
||||
'clean:deploy',
|
||||
'copy:deploy'
|
||||
]);
|
||||
|
||||
};
|
||||
};
|
|
@ -12,8 +12,7 @@
|
|||
"grunt-shell": "~0.6.4",
|
||||
"grunt-contrib-watch": "~0.5.3",
|
||||
"grunt-contrib-copy": "~0.5.0",
|
||||
"grunt-contrib-clean": "0.5.x",
|
||||
"grunt-wp-deploy": "0.3.x"
|
||||
"grunt-contrib-clean": "0.5.x"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.8.0",
|
||||
|
|
Loading…
Reference in New Issue