mirror of https://github.com/snachodog/mybuddy.git
Add gulp commands for make/compilemessages.
This commit is contained in:
parent
d52694e93e
commit
ad1cc1ee94
12
gulpfile.js
12
gulpfile.js
|
@ -171,6 +171,18 @@ gulp.task('makemigrations', function(cb) {
|
||||||
spawn('pipenv', command, { stdio: 'inherit' }).on('exit', cb);
|
spawn('pipenv', command, { stdio: 'inherit' }).on('exit', cb);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
gulp.task('makemessages', function(cb) {
|
||||||
|
var command = ['run', 'python', 'manage.py', 'makemessages'];
|
||||||
|
command = command.concat(process.argv.splice(3));
|
||||||
|
spawn('pipenv', command, { stdio: 'inherit' }).on('exit', cb);
|
||||||
|
});
|
||||||
|
|
||||||
|
gulp.task('compilemessages', function(cb) {
|
||||||
|
var command = ['run', 'python', 'manage.py', 'compilemessages'];
|
||||||
|
command = command.concat(process.argv.splice(3));
|
||||||
|
spawn('pipenv', command, { stdio: 'inherit' }).on('exit', cb);
|
||||||
|
});
|
||||||
|
|
||||||
gulp.task('reset', function(cb) {
|
gulp.task('reset', function(cb) {
|
||||||
spawn(
|
spawn(
|
||||||
'pipenv',
|
'pipenv',
|
||||||
|
|
Loading…
Reference in New Issue