Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.6.0 #12

Merged
merged 3 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
14 changes: 13 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,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 Expand Up @@ -131,7 +141,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- New `testbox apidocs` command to open the TestBox API Docs in your browser.
- Initial Creation of this project

[Unreleased]: https://github.com/Ortus-Solutions/testbox-cli/compare/v1.4.0...HEAD
[Unreleased]: https://github.com/Ortus-Solutions/testbox-cli/compare/v1.5.0...HEAD

[1.5.0]: https://github.com/Ortus-Solutions/testbox-cli/compare/v1.4.0...v1.5.0

[1.4.0]: https://github.com/Ortus-Solutions/testbox-cli/compare/v1.3.0...v1.4.0

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