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
init
This should do a couple things:
global.json
scripts
echo "hello world"
It could also accept a --template <template> option which would add pre-configured scripts. The default one could be something like this:
--template <template>
default
{ "scripts": { // Debug mode scripts "build": "dotnet build", "test": "dotnet test", "pack": "dotnet pack --output ./artifacts", "ci": "dotnet r build && dotnet r test && dotnet r pack", // Release mode scripts "build:release": "dotnet build --configuration Release", "test:release": "dotnet test --configuration Release --no-build", "pack:release": "dotnet pack --configuration Release --no-build --output ./artifacts", "ci:release": "dotnet r build:release && dotnet r test:release && dotnet r pack:release", } }
Should this be init and only available if no global.json or scripts section are found, or should it be a flag --init and always visible?
--init
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This should do a couple things:
global.json
doesn't exist in the executing folder create onescripts
section with a simpleecho "hello world"
type scriptIt could also accept a
--template <template>
option which would add pre-configured scripts. Thedefault
one could be something like this:Should this be
init
and only available if noglobal.json
orscripts
section are found, or should it be a flag--init
and always visible?The text was updated successfully, but these errors were encountered: