Skip to content

Commit

Permalink
move gulp to root folder
Browse files Browse the repository at this point in the history
  • Loading branch information
sualko authored and andi34 committed Sep 27, 2019
1 parent c891af4 commit ce9b8ec
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 51 deletions.
6 changes: 3 additions & 3 deletions resources/gulpfile.js → gulpfile.js
Expand Up @@ -4,11 +4,11 @@ var gulp = require('gulp');
var sass = require('gulp-sass');

gulp.task('sass', function () {
return gulp.src('./sass/**/*.scss')
return gulp.src('./resources/sass/**/*.scss')
.pipe(sass.sync().on('error', sass.logError))
.pipe(gulp.dest('./css'));
.pipe(gulp.dest('./resources/css'));
});

gulp.task('sass:watch', function () {
gulp.watch('./sass/**/*.scss', gulp.series('sass'));
gulp.watch('./resources/sass/**/*.scss', gulp.series('sass'));
});
11 changes: 5 additions & 6 deletions package.json
@@ -1,17 +1,16 @@
{
"name": "photobooth",
"version": "1.0.0",
"description": "photobooth sass setup",
"main": "index.js",
"version": "1.8.3",
"description": "A Photobooth webinterface for Raspberry Pi and Windows",
"scripts": {
"build": "gulp sass",
"watch": "gulp sass:watch",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "GPL",
"license": "MIT",
"dependencies": {
"bower": "1.7.9",
"gulp": "4.0.2",
"gulp-sass": "4.0.2"
}
}

25 changes: 0 additions & 25 deletions resources/config.rb

This file was deleted.

17 changes: 0 additions & 17 deletions resources/package.json

This file was deleted.

0 comments on commit ce9b8ec

Please sign in to comment.