mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 10:48:38 -05:00
25 lines
675 B
JavaScript
25 lines
675 B
JavaScript
/*
|
|
* Paper.js - The Swiss Army Knife of Vector Graphics Scripting.
|
|
* http://paperjs.org/
|
|
*
|
|
* Copyright (c) 2011 - 2016, Juerg Lehni & Jonathan Puckey
|
|
* http://scratchdisk.com/ & http://jonathanpuckey.com/
|
|
*
|
|
* Distributed under the MIT license. See LICENSE file for details.
|
|
*
|
|
* All rights reserved.
|
|
*/
|
|
|
|
var gulp = require('gulp'),
|
|
del = require('del'),
|
|
symlink = require('gulp-symlink');
|
|
|
|
gulp.task('load', ['clean:load'], function() {
|
|
return gulp.src('src/load.js')
|
|
.pipe(symlink('dist/paper-full.js'))
|
|
.pipe(symlink('dist/paper-core.js'));
|
|
});
|
|
|
|
gulp.task('clean:load', function() {
|
|
return del([ 'dist/*.js', 'dist/node/**' ]);
|
|
});
|