Skip to content
Browse files

Assets dir is unrequired

  • Loading branch information...
1 parent f8f2f5a commit 31f153ebdb66a04b5a12cdb4f4c2e91be7e1fc38 @gjtorikian committed Oct 9, 2012
Showing with 9 additions and 6 deletions.
  1. +6 −2 bin/panda-docs
  2. +1 −2 lib/cli.js
  3. +1 −1 lib/version.js
  4. +1 −1 package.json
View
8 bin/panda-docs
@@ -67,9 +67,13 @@ panda_docs.make = exports.make = function(manifestFile, args, callback) {
});
},
function(cb) {
- panda.copyAssets(options.assets, options.outputAssets, function() {
+ if (options.assets) {
+ panda.copyAssets(options.assets, options.outputAssets, function() {
+ cb(null);
+ });
+ }
+ else
cb(null);
- });
},
function(cb) {
panda.copyResources(options.output, function() {
View
3 lib/cli.js
@@ -48,8 +48,7 @@ cli.addArgument(['--skin'], {
cli.addArgument(['--assets'], {
help: 'The location of your asset files (CSS, Javascript, e.t.c.) [./templates/default/assets]',
dest: 'assets',
- metavar: 'PATH',
- defaultValue: './templates/default/assets'
+ metavar: 'PATH'
});
cli.addArgument(['-d', '--disableTests'], {
View
2 lib/version.js
@@ -1,4 +1,4 @@
'use strict';
-// Shortcut to current Panino's version from the package.json
+// Shortcut to current Panda's version from the package.json
module.exports = require('../package.json').version;
View
2 package.json
@@ -1,6 +1,6 @@
{
"name": "panda-docs",
- "version": "0.3.19",
+ "version": "0.3.20",
"author": "Garen Torikian",
"keywords": ["documentation", "docs", "markdown"],
"description": "A complete documentation generation tool for Markdown files",

0 comments on commit 31f153e

Please sign in to comment.
Something went wrong with that request. Please try again.