Share

JSDoc

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Generic settings

You are viewing a single message from this topic. View all messages.

  1. 2008-07-29 17:07:49 UTC

    I have created a bash script file named
    jsdoc in /usr/local/bin

    --------------------------------
    #!/bin/bash
    perl /usr/local/lib/JSDoc-1.10.2/jsdoc.pl
    ------------------------------------------

    and tried to use in next context
    ##################################################
    pwd
    /webap/d777/
    ls
    main js

    jsdoc js

    No sourcefiles supplied
    Usage: jsdoc [OPTIONS] <js sourcefiles and/or directories>+
    ############################################################

    The problem looks like

    jsdoc.pl c works only when you start it from directory where it is installed.


    Is any way to make it run as a command line tool from any place on the current computer.


    Thank you








< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.