-
-
Notifications
You must be signed in to change notification settings - Fork 636
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/add-offline-env
- Loading branch information
Showing
88 changed files
with
3,031 additions
and
1,287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
github: [andreynering, pd93] | ||
github: [andreynering, pd93, vmaerten] | ||
open_collective: task | ||
custom: https://taskfile.dev/donate/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:recommended", | ||
"group:allNonMajor", | ||
"schedule:monthly" | ||
], | ||
"mode": "full", | ||
"reviewers": ["team:developer"], | ||
"packageRules": [ | ||
{ | ||
"matchManagers": ["github-actions"], | ||
"groupName": "Github Action", | ||
"labels": ["area: github actions", "area: dependencies"], | ||
"matchPackageNames": [ | ||
"*" | ||
], | ||
"matchUpdateTypes": [ | ||
"minor", | ||
"patch" | ||
] | ||
}, | ||
{ | ||
"matchManagers": ["npm", "nvm"], | ||
"groupName": "Website", | ||
"labels": ["lang: javascript", "area: dependencies"], | ||
"matchPackageNames": [ | ||
"*" | ||
], | ||
"matchUpdateTypes": [ | ||
"minor", | ||
"patch" | ||
] | ||
}, | ||
{ | ||
"matchManagers": ["gomod"], | ||
"groupName": "golang", | ||
"labels": ["lang: go", "area: dependencies"], | ||
"matchPackageNames": [ | ||
"*" | ||
], | ||
"matchUpdateTypes": [ | ||
"minor", | ||
"patch" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"recommendations": [ | ||
"editorconfig.editorconfig", | ||
"golang.go", | ||
"task.vscode-task" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package task | ||
|
||
import ( | ||
_ "embed" | ||
"fmt" | ||
) | ||
|
||
//go:embed completion/bash/task.bash | ||
var completionBash string | ||
|
||
//go:embed completion/fish/task.fish | ||
var completionFish string | ||
|
||
//go:embed completion/ps/task.ps1 | ||
var completionPowershell string | ||
|
||
//go:embed completion/zsh/_task | ||
var completionZsh string | ||
|
||
func Completion(completion string) (string, error) { | ||
// Get the file extension for the selected shell | ||
switch completion { | ||
case "bash": | ||
return completionBash, nil | ||
case "fish": | ||
return completionFish, nil | ||
case "powershell": | ||
return completionPowershell, nil | ||
case "zsh": | ||
return completionZsh, nil | ||
default: | ||
return "", fmt.Errorf("unknown shell: %s", completion) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.