Skip to content

Commit fc6095a

Browse files
committed
More usage of the unified workbench
1 parent fc5c658 commit fc6095a

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

.module.properties

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
project.name=cbdebugger
22
project.version=1.5.0
3-
module.name=cbdebugger
4-
# Default CF Engine to Build With
5-
3+
module.name=cbdebugger

.travis.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ notifications:
66

77
env:
88
global:
9-
- PROJECT_NAME=cbdebugger
109
- MODULE_ID=cbdebugger
11-
- MODULE_VERSION=1.5.0
1210
matrix:
1311
1412
- ENGINE=lucee@5
@@ -47,8 +45,6 @@ script:
4745
# run our dependency install to ensure the workbench is in place
4846
- box install
4947
# add our module-specific build properties
50-
- printf "\nproject.version=$MODULE_VERSION" >> workbench/build.properties
51-
- printf "\nproject.name=$PROJECT_NAME" >> workbench/build.properties
5248
- printf "\nmodule.name=$MODULE_ID" >> workbench/build.properties
5349
- printf "\ncfengine=$ENGINE" >> workbench/build.properties
5450
# execute our build
@@ -64,7 +60,7 @@ after_failure:
6460
before_deploy:
6561
- cd $TRAVIS_BUILD_DIR
6662
- mkdir -p s3deploy
67-
- rsync -av ./artifacts/$PROJECT_NAME/ ./s3deploy/
63+
- rsync -av ./artifacts/$MODULE_ID/ ./s3deploy/
6864
- rm -f ./s3deploy/box-repo.json
6965

7066
deploy:

box.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"cbdebugger Builder",
3-
"version":"1.0.0",
3+
"version":"1.5.0",
44
"slug":"cbdebugger-shell",
55
"private":false,
66
"defaultPort":0,
@@ -15,5 +15,11 @@
1515
"testbox":"testbox",
1616
"coldbox":"coldbox",
1717
"workbench":"workbench"
18+
},
19+
"testbox":{
20+
"runner":"http://localhost:49616"
21+
},
22+
"scripts":{
23+
"postVersion":"recipe workbench/bump.boxr"
1824
}
1925
}

tests/Application.cfc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ component{
77
this.name = "A TestBox Runner Suite " & hash( getCurrentTemplatePath() );
88
// any other application.cfc stuff goes below:
99
this.sessionManagement = true;
10+
// Turn on/off white space managemetn
11+
this.whiteSpaceManagement = "smart";
1012

1113
// any mappings go here, we create one that points to the root called test.
1214
this.mappings[ "/tests" ] = getDirectoryFromPath( getCurrentTemplatePath() );

0 commit comments

Comments
 (0)