Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefetch plugin data from npm #81

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Generate the docs and start the doc server
#

all: docs docs-server
all: plugins docs docs-server

#
# Generate the docs
Expand All @@ -15,6 +15,14 @@ docs: clean-docs
cp node_modules/mocha/mocha.js out/public/js/tests
cp -R chai/test/*.js out/public/js/tests

#
# Generate plugins
#

plugins: docs
@mkdir -p out/plugins
@./node_modules/.bin/npm-plugin-fetcher -o out/plugins chai-plugin

#
# Clean the docs
#
Expand All @@ -33,4 +41,4 @@ docs-server:
# Instructions
#

.PHONY: docs clean-docs docs-server
.PHONY: plugins docs clean-docs docs-server
2 changes: 1 addition & 1 deletion out/api/assert/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h1><a href="/">Chai Assertion Library</a></h1>
<article><h1 id="assert">Assert</h1>
<p>The <code>assert</code> style is very similar to node.js&#39; included assert module, with a bit of extra
sugar. Of the three style options, <code>assert</code> is the only one that is not chainable. Check out
the <a href="/guide/comparison">Style Guide</a> for a comparison.</p>
the <a href="/guide/styles">Style Guide</a> for a comparison.</p>
<h2 id="api-reference">API Reference</h2>
</article>
<div id="assert-section" class="segment">
Expand Down
2 changes: 1 addition & 1 deletion out/guide/plugins/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -233,4 +233,4 @@ <h3 class="fancy"><a href="#">Chai Assertion Library</a></h3>
</section>
</footer>
</body>
</html>
</html>
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"jade": "0.27.x",
"marked": "0.2.x",
"highlight.js": "7.0.1",
"npm-plugin-fetcher": "1.0.0",
"mocha": "1.8.x"
},
"engines": {
Expand Down
307 changes: 0 additions & 307 deletions plugins.js

This file was deleted.

Loading