fix gulp file for new location of translations

This commit is contained in:
Mark
2016-06-13 00:14:05 +02:00
parent c5aa3f22d9
commit 2b9c0b2c9b
+3 -3
View File
@@ -141,15 +141,15 @@ gulp.task('sass-lint', function() {
});
gulp.task('sort-translations', function() {
return gulp.src('./translations/*.json')
return gulp.src('../translations/*.json')
.pipe(sortJSON({ space: 2 }))
.pipe(gulp.dest('./translations/'));
.pipe(gulp.dest('../translations/'));
});
gulp.task('submit', ['compile'], (done) => {
const html = fs.readFileSync('../5eShaped.html', 'utf-8');
const css = fs.readFileSync('../5eShaped.css', 'utf-8');
const translation = fs.readFileSync('./translations/en.json', 'utf-8');
const translation = fs.readFileSync('../translations/en.json', 'utf-8');
const props = require('./submitProps.json');
const url = `https://app.${props[props.which].roll20}.net/campaigns/savesettings/${props[props.which].campaignId}`;