Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

Commit df0975f

Browse files
committed
move server.json and urlrewrite.xml back into create app
1 parent 9d4b081 commit df0975f

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

commands/wheels/generate/app.cfc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,22 @@ component aliases="wheels g app" extends="../base" {
118118
print.greenBoldLine( 'Running the post install script...' ).toConsole();
119119
command( 'package run-script' ).params( scriptname = 'postInstallAll' ).run();
120120

121+
// Copy server.json file
122+
command( 'cp' )
123+
.params(
124+
path = expandPath( '/cfwheels-cli/templates/ServerJSON.txt' ),
125+
newPath = fileSystemUtil.resolvePath( 'server.json' )
126+
)
127+
.run();
128+
129+
// Copy urlrewrite.xml
130+
command( 'cp' )
131+
.params(
132+
path = expandPath( '/cfwheels-cli/templates/urlrewrite.xml' ),
133+
newPath = fileSystemUtil.resolvePath( 'urlrewrite.xml' )
134+
)
135+
.run();
136+
121137
// Setting Application Name
122138
print.greenBoldLine( 'Setting application name...' ).toConsole();
123139
command( 'tokenReplace' ).params( path = 'config/app.cfm', token = '|appName|', replacement = arguments.name ).run();

0 commit comments

Comments
 (0)