Skip to content

Commit 1abfe56

Browse files
committed
Merge pull request #51 from angularity/feature/autodocs
Feature/autodocs
2 parents 99e230b + 7f9822a commit 1abfe56

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/.idea
22
/node_modules
33
/test/*temp
4-
npm-debug.log
4+
/npm-debug.log
5+
/documentation

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,13 @@ script:
1919
- node node_modules/jasmine-node/bin/jasmine-node --version # expect jasmine 2.x
2020
- npm run lint
2121
- npm test
22+
23+
after_success:
24+
- npm run autodocs
25+
env:
26+
global:
27+
- secure: U+IdWhk/tUsG9e7hOxxeGhzbJ3iYYtvRyz4zExVI6JJz22TJX5UXwJJQmrrNcM1bwt1GTAbX3xYavE+kqs9I5wyeMX92+/o1gz2vp/46wRXAKC/X8lULVH0vopVtnKZnyKUIzQTYd7NxX0JsweJ9Y/4szkskygnTDu6lXkpPPVk=
28+
# - DOCUMENT_BRANCH: ${TRAVIS_BRANCH}
29+
- FLAG_PUBLISH_ON_RELEASE: 'true'
30+
- REPO_SLUG: 'angularity/angularity.github.io'
31+
- GH_PUBLISH_BRANCH: 'master'

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
],
1717
"scripts": {
1818
"test": "node node_modules/jasmine-node/bin/jasmine-node --verbose --captureExceptions test/specs",
19-
"lint": "node test/jshint.js"
19+
"lint": "node test/jshint.js",
20+
"generatedocs": "mkdir -p documentation && echo 'autodocs placeholder documentation' > documentation/index.html && ls -la documentation && echo 'Placeholder documentation generated'",
21+
"autodocs": "node ./node_modules/autodocs"
2022
},
2123
"contributors": [
2224
"bholloway",
@@ -107,12 +109,13 @@
107109
"yargs": "latest"
108110
},
109111
"devDependencies": {
112+
"angularity-helloworld-es5": "angularity/angularity-helloworld-es5#ci-build-0.2.0-A",
113+
"angularity-todo-es5": "angularity/angularity-todo-es5#ci-build-0.2.0-C",
114+
"autodocs": "^0.6.5",
110115
"jasmine-diff-matchers": "~2.0.0",
111116
"jasmine-node": "2.0.0-beta4",
112117
"jshint-stylish": "^1.0.1",
113118
"ncp": "~2.0.0",
114-
"ps-tree": "~0.0.3",
115-
"angularity-helloworld-es5": "angularity/angularity-helloworld-es5#ci-build-0.2.0-A",
116-
"angularity-todo-es5": "angularity/angularity-todo-es5#ci-build-0.2.0-C"
119+
"ps-tree": "~0.0.3"
117120
}
118121
}

0 commit comments

Comments
 (0)