diff options
| author | trh | 2018-02-02 16:44:22 +0000 |
|---|---|---|
| committer | trh | 2018-02-02 16:44:22 +0000 |
| commit | 8a4a7ed46b8edb78b30b8955e81668873a455fc7 (patch) | |
| tree | 57c388e5c3750c3571f9d7f60a6810a02e1b4637 /gulpfile.js | |
| parent | Merge branch 'trh/ts-node' into 'master' (diff) | |
| parent | Tidied Some Repo Things (diff) | |
| download | medicine-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.js | 23 |
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']); |
