Commit 95d2afdb authored by David Haynes's avatar David Haynes 🙆

Test CI build w/ gulp

parent 7383ec61
Pipeline #1584 passed with stage
in 38 seconds
...@@ -4,3 +4,9 @@ build: ...@@ -4,3 +4,9 @@ build:
stage: build stage: build
script: script:
- yarn - yarn
- npm install -g gulp
- gulp build
artifacts:
paths:
- build/js
- build/css
/*
"scripts": {
"copy-fonts": "cp -r ./node_modules/font-awesome/fonts/ ./public/assets/",
"http": "http-server -r -p 8000",
"dev": "npm-run-all --parallel build-masonstrap start http"
},
*/
// Gulp Imports // Gulp Imports
const gulp = require('gulp'); const gulp = require('gulp');
const sass = require('gulp-sass'); const sass = require('gulp-sass');
...@@ -70,6 +62,7 @@ gulp.task('watch', () => { ...@@ -70,6 +62,7 @@ gulp.task('watch', () => {
gulp.watch(src + '/js/*.js', ['js']) gulp.watch(src + '/js/*.js', ['js'])
}); });
// LiveReload dev server
gulp.task('http', () => { gulp.task('http', () => {
connect.server({ connect.server({
root: './build/', root: './build/',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment