Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
chore(docs): clean up and update docs, add smoke test stub, updated p…
Browse files Browse the repository at this point in the history
…ackage-lock file
  • Loading branch information
debloper committed Feb 8, 2018
1 parent b050ed4 commit 7be78a2
Show file tree
Hide file tree
Showing 3 changed files with 923 additions and 236 deletions.
8 changes: 6 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ v|`npm run build \-- --watch`

| *[default]* all
v|`npm run clean` or
`npm run build \-- --all`
`npm run clean \-- --all`
| Fully resets the project

| cache
Expand Down Expand Up @@ -123,7 +123,7 @@ v|`npm run clean \-- --temp`
| Removes temp files and artifacts


.2+| Tests
.3+| Tests

| unit
v|`npm run tests \-- --unit`
Expand All @@ -133,6 +133,10 @@ v|`npm run tests \-- --unit`
v|`npm run tests \-- --func`
| Runs the functional tests

| [line-through]#smok#
v|`npm run tests \-- --smok`
| Runs the smoke tests

4+| Commands with [line-through]#strikethroughs# aren't yet implemented.

|===
Expand Down
9 changes: 6 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,7 @@ gulp.task('clean', function () {
!argv.temp) {
// if none of the known sub-task parameters for `clean` was provided
// i.e. only `gulp clean` was called, then set default --all flag ON
console.log(argv.all);
argv.all = true;
console.log(argv.all);
}

if (argv.all) {
Expand Down Expand Up @@ -218,7 +216,12 @@ gulp.task('tests', function () {
}

// func
if (argv.unit) {
if (argv.func) {
// subroutine to run functional tests
}

// smok
if (argv.smok) {
// subroutine to run smoke tests
}
});
Loading

0 comments on commit 7be78a2

Please sign in to comment.