I see, fair enough. I’ll update the gulpfile and build instructions tomorrow morning, along with the build instructions on the site.


Robert Biggs
Product Director
ChocolateChip-UI
www.sourcebits.com 
 
(415) 288-3697
Sourcebits, Inc. 
211 Sutter Street. STE 200 
San Francisco, CA 94108

On Apr 24, 2014, at 10:50 PM, Ajmal Sali <notifications@github.com> wrote:

> In gulpfile.js:
> 
> > @@ -132,33 +123,6 @@ gulp.task('js', function () {
> >      .pipe(gulp.dest(pkg.projectPath + 'chui/'));;
> >  });
> >  
> > -// Create examples & demos (ltr or rtl):
> > -gulp.task('examples', function() {
> > -  var langDir = '';
> > -  var rtl = gutils.env.dir === 'rtl';
> > -  var dir = 'ltr';
> > -  var prefix = '';
> > -  if (rtl) {
> > -    prefix = 'rtl-';
> > -    dir = 'rtl';
> > -    langDir =  ' dir="rtl"';
> > -    // Copy out rtl images:
> > -    gulp.src('src/rtl-images/**/*')
> > -      .pipe(gulp.dest(pkg.projectPath +'rtl-images/'));
> > -    // Copy out regular images & data:`
> > -    gulp.run('copy');
> Yea, but about calling gulp.run('copy') from the examples task.
> 
> examples task was only called from the default task. (as it's not specified in the readme)
> gulp.task('default', ['less','js','jshint','copy','examples']);
> where copy was already called.
> 
> but now, as we have
> gulp.task('examples', ['copy'], generate_examples());
> 
> i.e calling copy sub-task.
> 
> we can change, remove the copy sub-task from default task, rite? i.e to
> gulp.task('default', ['less','js','jshint','examples']);
> 
> —
> Reply to this email directly or view it on GitHub.
>