Skip to content

Commit

Permalink
[WIP]: add --job{s} option comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
h-sug1no committed Dec 22, 2021
1 parent 38f6d32 commit 9fe7451
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/generate_images_pptr.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ const jobLog = (msg, type, jobInfo) => {
log(`${prefix}${msg}`, type);
};

/**
* --job{s} see tests/vexflow_test_helpers.ts: VexFlowTests.run()
*/
const usage = () => {
if (!options.IMAGE_OUTPUT_DIR) {
log(
Expand Down
5 changes: 5 additions & 0 deletions tools/generate_png_images.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ const runOptions = {
// For example:
// node generate_png_images.js SCRIPT_DIR IMAGE_OUTPUT_DIR --fonts=petaluma
// node generate_png_images.js SCRIPT_DIR IMAGE_OUTPUT_DIR --fonts=bravura,gonville
/**
* usage: node generate_png_images.js SCRIPT_DIR IMAGE_OUTPUT_DIR [--fonts=fonts] [--jobs=jobs] [--job=job]
* --jobs, --job: see tests/vexflow_test_helpers.ts: VexFlowTests.run()
*/

const ALL_FONTS = ['Bravura', 'Gonville', 'Petaluma'];
let fontStacksToTest = ALL_FONTS;
const { argv } = process;
Expand Down

0 comments on commit 9fe7451

Please sign in to comment.