Permalink
Browse files

update examples

  • Loading branch information...
1 parent 53444ff commit 2ae613f1375db85d755f306626ac70bb46901dee @jonschlinkert jonschlinkert committed Feb 2, 2016
@@ -7,4 +7,6 @@ This example uses assemble as a simple build tool for CSS files. To test it out
Or simply:
- $ make build
+ $ make build
+
+_(Based on the examples from the excellent [metalsmith](metalsmith.io))_
@@ -1,3 +1,4 @@
+'use strict';
var smithy = require('../smithy');
var path = require('path');
@@ -2,9 +2,6 @@
"name": "build-tool-example",
"private": true,
"dependencies": {
- "assemble-loader": "^0.2.2",
- "myth": "^0.3.4",
- "through2": "^2.0.0",
- "to-file": "^0.1.3"
+ "myth": "^0.3.4"
}
-}
+}
@@ -2,9 +2,8 @@
This example uses assemble to emulate a Jekyll static site. To test it out yourself just install and run:
-```bash
-npm install
-node assemblefile
+```sh
+$ npm i && assemble
```
-(this is based on an example from the awesome [metalsmith project](https://github.com/segmentio/metalsmith). it's worth checking out!)
+_(this is based on an example from the awesome [metalsmith](https://github.com/segmentio/metalsmith)!)_
@@ -82,8 +82,7 @@ app.task('default', function() {
*/
app.build('default', function(err) {
- if (err) return console.log(err);
- console.log('done!');
+ if (err) throw err;
});
/**

0 comments on commit 2ae613f

Please sign in to comment.