-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adapted tasks/clean and hopefully tasks/dev
- Loading branch information
Dragos Cirjan
committed
Feb 9, 2019
1 parent
095de46
commit 01499af
Showing
32 changed files
with
22 additions
and
3,338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -203,6 +203,8 @@ Fork the repo then clone it | |
`$ git clone [email protected]:YourUsername/aurelia-content-loader.git && cd aurelia-content-loader` | ||
|
||
(or `$ npm install --global gulp-cli`): Install Gulp cli tool. | ||
|
||
`$ yarn` (or `$ npm i`): Install the dependencies; | ||
|
||
`$ yarn build` (or `$ npm run build`): Build to production; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
var gulp = require('gulp'); | ||
var paths = require('../paths'); | ||
var del = require('del'); | ||
var vinylPaths = require('vinyl-paths'); | ||
|
||
const del = require('del'); | ||
const paths = require('../paths'); | ||
|
||
// deletes all files in the output path | ||
gulp.task('clean', function() { | ||
return gulp.src([paths.output]) | ||
.pipe(vinylPaths(del)); | ||
}); | ||
exports.clean = function(cb) { | ||
return del([paths.output + '/**/*']); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
var gulp = require('gulp'); | ||
var tools = require('aurelia-tools'); | ||
var args = require('../args'); | ||
const tools = require('aurelia-tools'); | ||
const args = require('../args'); | ||
|
||
// source code for the tasks called in this file | ||
// is located at: https://github.com/aurelia/tools/blob/master/src/dev.js | ||
|
||
// updates dependencies in this folder | ||
// from folders in the parent directory | ||
gulp.task('update-own-deps', function() { | ||
tools.updateOwnDependenciesFromLocalRepositories(args.depth); | ||
}); | ||
exports['update-own-deps'] = function() { | ||
return tools.updateOwnDependenciesFromLocalRepositories(args.depth); | ||
}; | ||
|
||
// quickly pulls in all of the aurelia | ||
// github repos, placing them up one directory | ||
// from where the command is executed, | ||
// then runs `npm install` | ||
// and `gulp build` for each repo | ||
gulp.task('build-dev-env', function() { | ||
exports['build-dev-env'] = function() { | ||
tools.buildDevEnv(); | ||
}); | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.