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

No --requirejs when installed via npm, version 0.1.11 #13

Closed
gossi opened this issue Dec 1, 2011 · 2 comments
Closed

No --requirejs when installed via npm, version 0.1.11 #13

gossi opened this issue Dec 1, 2011 · 2 comments

Comments

@gossi
Copy link

gossi commented Dec 1, 2011

Hey there,

I installed coffeedoc via npm.

see npm info:

$ npm info coffeedoc
{ name: 'coffeedoc',
  description: 'An API documentation generator for CoffeeScript',
  'dist-tags': { latest: '0.1.11' },

and coffeedoc cli options:

$ coffeedoc
Usage: coffeedoc [options] [targets]

Options:
    -o, --output: Set output directory (default: ./docs)
    --commonjs  : Use if target scripts use CommonJS for module loading (default)

I have no --requirejs option. Did I do something wrong?

I was going down to the coffeedoc source folder, and did cat docgen.coffee, here is a snippet:

# Command line options
OPTIONS =
    '-o, --output': 'Set output directory (default: ./docs)'
    '--commonjs  ': 'Use if target scripts use CommonJS for module loading (default)'
#    '--requirejs ': 'Use if target scripts use RequireJS for module loading'

A spec/ folder is not present. Maybe that helps.

Thanks

@omarkhan
Copy link
Owner

omarkhan commented Dec 1, 2011

Oops, I forgot to update the npm version when requirejs support was merged in. I've done it now, npm update and you should be good to go.

@omarkhan omarkhan closed this as completed Dec 1, 2011
@gossi
Copy link
Author

gossi commented Dec 1, 2011

Thank you very much, works perfect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants