Skip to content

Commit

Permalink
Rename transpile-br to allow-brighterscript-in-brightscript
Browse files Browse the repository at this point in the history
  • Loading branch information
justinMBullard committed May 19, 2022
1 parent a5de16b commit 6a84909
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benchmarks/targets/transpile-brs.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = async (suite, name, brighterscript, projectPath, options) => {
}

if (files.length === 0) {
console.log('[transpile-brs] No brs|bs|d.bs files found in program');
console.log('[allow-brighterscript-in-brightscript] No brs|bs|d.bs files found in program');
return;
}
suite.add(name, () => {
Expand Down
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let options = yargs
.help('help', 'View help information about this tool.')
.option('create-package', { type: 'boolean', defaultDescription: 'true', description: 'Creates a zip package. This setting is ignored when deploy is enabled.' })
.option('source-map', { type: 'boolean', defaultDescription: 'false', description: 'Enables generating sourcemap files, which allow debugging tools to show the original source code while running the emitted files.' })
.option('transpile-brs', { type: 'boolean', defaultDescription: 'false', description: 'Enables transpiling files with the BRS extension, in addition to BS files.' })
.option('allow-brighterscript-in-brightscript', { type: 'boolean', defaultDescription: 'false', description: 'Enables BrighterScript code om BrightScript files.' })
.option('cwd', { type: 'string', description: 'Override the current working directory.' })
.option('copy-to-staging', { type: 'boolean', defaultDescription: 'true', description: 'Copy project files into the staging folder, ready to be packaged.' })
.option('diagnostic-level', { type: 'string', defaultDescription: '"warn"', description: 'Specify what diagnostic types should be printed to the console. Value can be "error", "warn", "hint", "info".' })
Expand Down

0 comments on commit 6a84909

Please sign in to comment.