Skip to content

Instantly share code, notes, and snippets.

@jewelsjacobs
Last active July 18, 2018 21:04
Show Gist options
  • Save jewelsjacobs/5758434 to your computer and use it in GitHub Desktop.
Save jewelsjacobs/5758434 to your computer and use it in GitHub Desktop.
[Batch file for running jsdoc] batch file for running jsdoc with configuration file #jsdoc
@echo off
REM This script assumes you are running it
REM in the directory jsdoc-toolkit (https://code.google.com/p/jsdoc-toolkit/downloads/list)
REM resides in.
REM Also it is refering to a configuration file in the
REM jsdoc-toolkit conf folder called jsdoc.conf. Replace this
REM with the location and name of your configuration file.
set JSDOC_BASE_DIR=%CD%\jsdoc-toolkit
java -Djsdoc.dir=%JSDOC_BASE_DIR% -jar %JSDOC_BASE_DIR%\jsrun.jar %JSDOC_BASE_DIR%\app\run.js -c=%JSDOC_BASE_DIR%\conf\jsdoc.conf %*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment