Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Maples7 committed Mar 20, 2017
2 parents 4b843e5 + 8a420e8 commit 22a9ba3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions bin/barn
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,11 @@ function barnGenerate() {
// copy images
shell.cp('-Rf', `themes/${spec.theme}/image/*`, 'dist/image');

// generate CNAME
if (spec.cname) {
fs.writeFileSync('dist/CNAME', spec.cname);
}

shell.echo('Success to generate static files in folder dist!');
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "barn-cli",
"version": "0.1.1",
"version": "0.2.0",
"description": "CLI tools for Barn.",
"main": "lib/barn",
"bin": {
Expand Down

0 comments on commit 22a9ba3

Please sign in to comment.