Describe the bug
Running wheels deploy init inside a freshly generated Wheels application fails with:
[ERROR] Error: lucee.runtime.exp.ExpressionException: file or directory
[/Users/mac/Desktop/wwwroot/installer/myapp/cli/lucli/templates/deploy/init/deploy.yml.mustache]
does not exist
The command appears to look for deployment templates inside the generated application directory myapp/cli/lucli/templates/deploy/init/ but those template files do not exist in a newly scaffolded application.
To Reproduce
Steps to reproduce the behavior:
- Create a new application:
- Enter the project directory:
- Run:
- Observe the error.
Expected behavior
wheels deploy init should:
- successfully generate deployment configuration files
- resolve templates from the CLI installation/bundled templates
- or include the required deploy templates in the generated app
Actual behavior
The command fails because it attempts to resolve cli/lucli/templates/deploy/init/deploy.yml.mustache from inside the application directory, where the path does not exist.
Desktop
- OS: macOS
- CLI: Wheels 4.0.0 (development)
Describe the bug
Running
wheels deploy initinside a freshly generated Wheels application fails with:The command appears to look for deployment templates inside the generated application directory
myapp/cli/lucli/templates/deploy/init/but those template files do not exist in a newly scaffolded application.To Reproduce
Steps to reproduce the behavior:
Expected behavior
wheels deploy initshould:Actual behavior
The command fails because it attempts to resolve
cli/lucli/templates/deploy/init/deploy.yml.mustachefrom inside the application directory, where the path does not exist.Desktop