Skip to content

Commit

Permalink
require files in specific order in gulpfile
Browse files Browse the repository at this point in the history
also removes filenumbers
  • Loading branch information
menasheh committed Apr 16, 2018
1 parent bf32171 commit eec8401
Show file tree
Hide file tree
Showing 37 changed files with 36 additions and 40 deletions.
39 changes: 36 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,41 @@ let sourcemaps = require('gulp-sourcemaps');
let uglify = require('gulp-uglify');

let jsFiles = [
'src/*.js',
'src/morphs/*.js'
'src/settings.js',
'src/functions.js',
'src/retina.js',
'src/animations.js',
'src/colors.js',
'src/points.js',
'src/rectangle.js',
'src/node.js',
'src/morphs/morph.js',
'src/morphs/pen.js',
'src/morphs/colorpalette.js',
'src/morphs/graypalette.js',
'src/morphs/colorpicker.js',
'src/morphs/blinker.js',
'src/morphs/cursor.js',
'src/morphs/box.js',
'src/morphs/speechbubble.js',
'src/morphs/dial.js',
'src/morphs/circlebox.js',
'src/morphs/sliderbutton.js',
'src/morphs/slider.js',
'src/morphs/mousesensor.js',
'src/morphs/inspector.js',
'src/morphs/menu.js',
'src/morphs/string.js',
'src/morphs/text.js',
'src/morphs/trigger.js',
'src/morphs/menuitem.js',
'src/morphs/frame.js',
'src/morphs/scrollframe.js',
'src/morphs/list.js',
'src/morphs/stringfield.js',
'src/morphs/bouncer.js',
'src/morphs/hand.js',
'src/morphs/world.js',
],
jsDest = 'dist/';

Expand All @@ -23,5 +56,5 @@ gulp.task('scripts', function () {
gulp.task('default', ['scripts']);

gulp.task('watch', function() {
gulp.watch(['src/*.js', 'src/**/*.js'], ['scripts'])
gulp.watch(['src/**/*.js'], ['scripts'])
});
File renamed without changes.
File renamed without changes.
File renamed without changes.
37 changes: 0 additions & 37 deletions src/morphic.js

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit eec8401

Please sign in to comment.