aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authortrh2018-02-02 16:44:22 +0000
committertrh2018-02-02 16:44:22 +0000
commit8a4a7ed46b8edb78b30b8955e81668873a455fc7 (patch)
tree57c388e5c3750c3571f9d7f60a6810a02e1b4637 /gulpfile.js
parentMerge branch 'trh/ts-node' into 'master' (diff)
parentTidied Some Repo Things (diff)
downloadmedicine-8a4a7ed46b8edb78b30b8955e81668873a455fc7.tar.gz
medicine-8a4a7ed46b8edb78b30b8955e81668873a455fc7.zip

Merge branch ‘trh/node-tidy’ into ‘master’

Tidied Some Repo Things

See merge request cs3099group-be-4/project-code!2

Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/gulpfile.js b/gulpfile.js
deleted file mode 100644
index 7c897ce..0000000
--- a/gulpfile.js
+++ /dev/null
@@ -1,23 +0,0 @@
-const gulp = require('gulp');
-const ts = require('gulp-typescript');
-const JSON_FILES = ['src/*.json', 'src/**/*.json'];
-
-// pull in the project TypeScript config
-const tsProject = ts.createProject('tsconfig.json');
-
-gulp.task('scripts', () => {
- const tsResult = tsProject.src()
- .pipe(tsProject());
- return tsResult.js.pipe(gulp.dest('dist'));
-});
-
-gulp.task('watch', ['scripts'], () => {
- gulp.watch('src/**/*.ts', ['scripts']);
-});
-
-gulp.task('assets', function() {
- return gulp.src(JSON_FILES)
- .pipe(gulp.dest('dist'));
-});
-
-gulp.task('default', ['watch', 'assets']);