We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add a corresponding default command to the viur-base's Pipfile, like https://github.com/viur-framework/viur-core/blob/dd0431bc14c2a2b897f2f54de092cac45b0d5e71/Pipfile#L21. At the end is the project logic. And the CLI then executes defined commands in the project.json as pre-action hooks.
viur-base
Pipfile
project.json
For example:
{ "//": "[...]", "default": { "application_name": "myproject-with-hooks", "actions": { "pre-deploy": [{ "command": "pipenv run linter", "kind": "exec", }, { "kind": "viur-cli-build", }], "pre-devserver": [{ "command": "pipenv run dependency_check", "kind": "exec", }, { "command": "npm run watch", "kind": "exec-background", }], }, }, "//": "[...]", }
Originally posted by @sveneberth in #158 (review)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Add a corresponding default command to the
viur-base
'sPipfile
, like https://github.com/viur-framework/viur-core/blob/dd0431bc14c2a2b897f2f54de092cac45b0d5e71/Pipfile#L21. At the end is the project logic.And the CLI then executes defined commands in the
project.json
as pre-action hooks.For example:
Originally posted by @sveneberth in #158 (review)
The text was updated successfully, but these errors were encountered: