2016-01-23 18:26:56 +01:00
|
|
|
/*
|
|
|
|
* Paper.js - The Swiss Army Knife of Vector Graphics Scripting.
|
|
|
|
* http://paperjs.org/
|
|
|
|
*
|
2020-05-23 22:24:42 +02:00
|
|
|
* Copyright (c) 2011 - 2020, Jürg Lehni & Jonathan Puckey
|
|
|
|
* http://juerglehni.com/ & https://puckey.studio/
|
2016-01-23 18:26:56 +01:00
|
|
|
*
|
|
|
|
* 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')
|
2016-01-26 20:26:32 +01:00
|
|
|
.pipe(symlink('dist/paper-full.js'))
|
|
|
|
.pipe(symlink('dist/paper-core.js'));
|
2016-01-23 18:26:56 +01:00
|
|
|
});
|
2016-01-25 11:06:45 +01:00
|
|
|
|
|
|
|
gulp.task('clean:load', function() {
|
2016-07-09 20:56:58 +02:00
|
|
|
return del([ 'dist/*.js', 'dist/node/**' ]);
|
2016-01-25 11:06:45 +01:00
|
|
|
});
|