-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
This should do a couple things:
- If a
global.jsondoesn't exist in the executing folder create one - Add a
scriptssection with a simpleecho "hello world"type script
It could also accept a --template <template> option which would add pre-configured scripts. The default one could be something like this:
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?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
{ "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", } }