Browse Source

Add RTL: both option

pull/2228/merge
jlukic 9 years ago
parent
commit
535ad5623d
3 changed files with 10 additions and 2 deletions
  1. 4
      tasks/build.js
  2. 4
      tasks/config/project/install.js
  3. 4
      tasks/watch.js

4
tasks/build.js

@ -23,7 +23,9 @@ module.exports = function(callback) {
// check for right-to-left language // check for right-to-left language
if(config.rtl === true || config.rtl === 'Yes') { if(config.rtl === true || config.rtl === 'Yes') {
gulp.start('build-rtl'); gulp.start('build-rtl');
return;
if(config.rtl !== 'both') {
return;
}
} }
gulp.start('build-javascript'); gulp.start('build-javascript');

4
tasks/config/project/install.js

@ -440,6 +440,10 @@ module.exports = {
name: 'Yes', name: 'Yes',
value: true value: true
}, },
{
name: 'Build Both',
value: 'both'
}
] ]
}, },
{ {

4
tasks/watch.js

@ -59,7 +59,9 @@ module.exports = function(callback) {
// check for right-to-left language // check for right-to-left language
if(config.rtl === true || config.rtl === 'Yes') { if(config.rtl === true || config.rtl === 'Yes') {
gulp.start('watch-rtl'); gulp.start('watch-rtl');
return;
if(config.rtl != 'both') {
return;
}
} }
//console.clear(); //console.clear();

Loading…
Cancel
Save