Skip to content

Commit

Permalink
fix assets
Browse files Browse the repository at this point in the history
  • Loading branch information
elbywan committed Apr 1, 2017
1 parent d8a775f commit 5debe73
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
File renamed without changes
File renamed without changes
8 changes: 6 additions & 2 deletions gulpfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ del = require 'del'

paths =
src: ['src/**/*.coffee']
demo: ['demo/**/*', 'build/js/quadtree.min.js', 'build/js/quadtree.min.js.map', 'assets/*']
demo: ['demo/**/*', 'build/js/quadtree.min.js', 'build/js/quadtree.min.js.map']
test: ['test/*.coffee']
perf: ['test/perf/*.coffee']
docindex: ['docs/quadtree.html']
Expand Down Expand Up @@ -57,7 +57,11 @@ gulp.task 'setupdemo', () ->
gulp.src paths.demo
.pipe gulp.dest './docs/demo'

gulp.task 'doc', ['generatedoc', 'setupdemo'], () ->
gulp.task 'copyassets', () ->
gulp.src 'assets/**/*'
.pipe gulp.dest './docs/assets'

gulp.task 'doc', ['generatedoc', 'setupdemo', 'copyassets'], () ->
gulp.src paths.docindex
.pipe rename 'index.html'
.pipe gulp.dest './docs'
Expand Down

0 comments on commit 5debe73

Please sign in to comment.