iceshrimp-161sh/src/client/docs/gulpfile.ts

19 lines
342 B
TypeScript
Raw Normal View History

2017-12-14 22:41:57 +01:00
/**
* Gulp tasks
*/
import * as gulp from 'gulp';
2018-06-17 12:09:24 +02:00
const stylus = require('gulp-stylus');
const cssnano = require('gulp-cssnano');
2017-12-14 22:41:57 +01:00
gulp.task('doc', [
'doc:styles'
]);
gulp.task('doc:styles', () =>
2018-03-29 13:32:18 +02:00
gulp.src('./src/client/docs/**/*.styl')
2017-12-14 22:41:57 +01:00
.pipe(stylus())
.pipe((cssnano as any)())
2018-03-29 13:32:18 +02:00
.pipe(gulp.dest('./built/client/docs/assets/'))
2017-12-14 22:41:57 +01:00
);