fix #3: missing font files in assets

This commit is contained in:
Naoki Rinmous 2018-01-16 03:36:06 +08:00
parent 8c4efb990c
commit a6d1787367

View File

@ -3,7 +3,12 @@ const gulp = require('gulp')
const rename = require('gulp-rename') const rename = require('gulp-rename')
const sass = require('gulp-sass') const sass = require('gulp-sass')
gulp.task('default', ['stylesheet']) gulp.task('default', ['fonts', 'stylesheet'])
gulp.task('fonts', function () {
return gulp.src('./node_modules/font-awesome/fonts/*')
.pipe(gulp.dest('./assets/fonts/'))
})
gulp.task('stylesheet', function () { gulp.task('stylesheet', function () {
return gulp.src('./assets/stylesheets/index.scss') return gulp.src('./assets/stylesheets/index.scss')