1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

update popup and set stage api

This commit is contained in:
Rokt33r
2015-06-25 21:01:57 +09:00
parent 549ce7f299
commit ee139ca36d
9 changed files with 89 additions and 13 deletions

View File

@@ -46,6 +46,16 @@ gulp.task('styl', function () {
.pipe(notify('Stylus!!'))
})
gulp.task('styl-popup', function () {
return gulp.src('src/browser/popup/styles/app.styl')
.pipe(plumber({errorHandler: notify.onError('Error: <%= error.message %>')}))
.pipe(styl())
.pipe(autoprefixer())
.pipe(gulp.dest('src/browser/popup/styles/'))
.pipe(livereload())
.pipe(notify('Stylus!! @POPUP'))
})
gulp.task('bs', function () {
return gulp.src('src/browser/shared/styles/bootstrap.styl')
.pipe(plumber({errorHandler: notify.onError('Error: <%= error.message %>')}))
@@ -76,6 +86,7 @@ gulp.task('watch-main', function () {
['src/browser/main/index.inject.html', 'src/browser/main/**/*.js', 'src/browser/main/**/*.css', 'src/browser/shared/**/*.js', 'src/browser/shared/**/*.css'], ['inject-main'])
gulp.watch('src/browser/main/styles/**/*.styl', ['styl'])
gulp.watch('src/browser/popup/styles/**/*.styl', ['styl-popup'])
gulp.watch('src/browser/shared/styles/**/*.styl', ['bs'])
livereload.listen()
})