-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generalize paths for loading tasks, see phetsims/chipper#1464
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Copyright 2024, University of Colorado Boulder | ||
/** | ||
* Run internal tests for the Gruntfile. Note the output is reported over console.log, so be careful what you output. | ||
* The command invoked is something like this: execSync( `${gruntCommand} test-grunt --brands=a,b,c --lint=false --noTSC` ) | ||
* | ||
* | ||
* @author Sam Reid (PhET Interactive Simulations) | ||
*/ | ||
|
||
import getOption from '../../../../chipper/js/grunt/tasks/util/getOption'; | ||
|
||
// grunt test-grunt --brands=a,b,c --lint=false --noTSC | ||
const brands = getOption( 'brands' ); | ||
const lint = getOption( 'lint' ); | ||
const noTSC = getOption( 'noTSC' ); | ||
const omitted = getOption( 'omitted' ); | ||
|
||
console.log( '<output>' ); | ||
console.log( `brands: ${brands}` ); | ||
console.log( `lint: ${lint}` ); | ||
console.log( `noTSC: ${noTSC}` ); | ||
console.log( `omitted: ${omitted}` ); | ||
console.log( '</output>' ); |