diff options
| author | Monty Taylor <mordred@inaugust.com> | 2018-08-24 03:42:23 -0500 |
|---|---|---|
| committer | Monty Taylor <mordred@inaugust.com> | 2018-08-24 03:42:23 -0500 |
| commit | 2712cdc63933fd4ac52a22a3053e2b6f8d568e18 (patch) | |
| tree | 10e6537505b988f82fac2431b8ae912cec9641cc /gulpfile.js | |
| parent | 67c1f59c791a4d559e1b00851328e3c59a019596 (diff) | |
Switch bootstrap to non-bower
Diffstat (limited to 'gulpfile.js')
| -rw-r--r-- | gulpfile.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gulpfile.js b/gulpfile.js index a48dfb2..e3bb6a6 100644 --- a/gulpfile.js +++ b/gulpfile.js | |||
| @@ -147,6 +147,11 @@ | |||
| 147 | * standard packaging format that bower files like. | 147 | * standard packaging format that bower files like. |
| 148 | */ | 148 | */ |
| 149 | gulp.task('package:libs', function (cb) { | 149 | gulp.task('package:libs', function (cb) { |
| 150 | |||
| 151 | var resolveBootstrap = gulp.src( | ||
| 152 | './node_modules/bootstrap/dist/css/bootstrap.css') | ||
| 153 | .pipe(gulp.dest(dir.dist + '/css')); | ||
| 154 | |||
| 150 | var resolveCSS = gulp.src(bowerFiles) | 155 | var resolveCSS = gulp.src(bowerFiles) |
| 151 | .pipe(filter('*.css')) | 156 | .pipe(filter('*.css')) |
| 152 | .pipe(gulp.dest(dir.dist + '/css')); | 157 | .pipe(gulp.dest(dir.dist + '/css')); |
| @@ -177,7 +182,8 @@ | |||
| 177 | ])) | 182 | ])) |
| 178 | .pipe(gulp.dest(dir.dist)); | 183 | .pipe(gulp.dest(dir.dist)); |
| 179 | 184 | ||
| 180 | streamqueue({'objectMode': true}, resolveCSS, | 185 | streamqueue({'objectMode': true}, |
| 186 | resolveBootstrap, resolveCSS, | ||
| 181 | resolveLESS, resolveReveal, | 187 | resolveLESS, resolveReveal, |
| 182 | resolveLibs, resolveFonts); | 188 | resolveLibs, resolveFonts); |
| 183 | cb() | 189 | cb() |
| @@ -196,7 +202,7 @@ | |||
| 196 | * Package keybase static files. | 202 | * Package keybase static files. |
| 197 | */ | 203 | */ |
| 198 | gulp.task('package:keybase', function () { | 204 | gulp.task('package:keybase', function () { |
| 199 | return gulp.src(paths.keybase, {'keybase': dir.src}) | 205 | return gulp.src(paths.keybase, {'base': dir.src}) |
| 200 | .pipe(gulp.dest(dir.dist)); | 206 | .pipe(gulp.dest(dir.dist)); |
| 201 | }); | 207 | }); |
| 202 | 208 | ||
