Skip to content

Commit

Permalink
Merge pull request #12 from Ortus-Solutions/development
Browse files Browse the repository at this point in the history
1.6.0
  • Loading branch information
lmajano authored Sep 23, 2024
2 parents 200cbf1 + 8c3bcbf commit a6df9fd
Show file tree
Hide file tree
Showing 7 changed files with 9,813 additions and 7 deletions.
7 changes: 4 additions & 3 deletions box.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name":"TestBox CLI",
"version":"1.5.0",
"version":"1.6.0",
"location":"https://downloads.ortussolutions.com/ortussolutions/commandbox-modules/testbox-cli/@build.version@/[email protected]@.zip",
"slug":"testbox-cli",
"author":"Ortus Solutions, Corp",
Expand All @@ -26,15 +26,16 @@
"commandbox-docbox":"*"
},
"dependencies":{
"testbox":"^5.3.0+5"
"testbox":"*"
},
"installPaths":{
"testbox":"testbox/"
},
"ignore":[
"**/.*",
"build/*",
"tests"
"./tests/**",
"./tmp/**"
],
"scripts":{
"build:module":"task run taskFile=build/Build.cfc :projectName=`package show slug` :version=`package show version`",
Expand Down
10 changes: 10 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Visualizer template missing.

### Fixed

- Overgreedy ignore, missing the `tests` folder in the final package

## [1.5.0] - 2024-09-17

### Added

- Internal refactoring for reuse of commands
- BoxLang support for all generation commands and templates
- You can now also use `--boxlang` to generate templates in BoxLang explicitly without detection
Expand Down
5 changes: 1 addition & 4 deletions commands/testbox/generate/visualizer.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,13 @@ component extends="testboxCLI.models.BaseCommand" {
// This will make each directory canonical and absolute
arguments.directory = resolvePath( arguments.directory & "/tests/test-visualizer" );

// Make sure we have the latest TestBox for assets
ensureTestBox( false );

// Validate directory
if ( !directoryExists( arguments.directory ) ) {
directoryCreate( arguments.directory );

// Copy template
directoryCopy(
expandPath( "/testbox/test-visualizer" ),
"#variables.settings.templatesPath#/visualizer/",
arguments.directory,
true
);
Expand Down
Loading

0 comments on commit a6df9fd

Please sign in to comment.