23 lines
1009 B
JSON
23 lines
1009 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(go get *)",
|
|
"Bash(go build *)",
|
|
"Bash(wails generate *)",
|
|
"Bash(npm run *)",
|
|
"Bash(gofmt -w app.go internal/winkeyer/winkeyer.go)",
|
|
"Bash(timeout 20 git status --short)",
|
|
"Bash(echo \"exit: $?\")",
|
|
"Bash(GIT_TERMINAL_PROMPT=0 timeout 20 git push --dry-run)",
|
|
"Bash(echo \"push exit: $?\")",
|
|
"Bash(git config *)",
|
|
"Bash(ls \"/c/Program Files/Git/mingw64/bin/git-credential-manager\"*.exe)",
|
|
"Bash(ls \"/c/Program Files/Git/mingw64/libexec/git-core/git-credential-manager\"*.exe)",
|
|
"Bash(which git-credential-manager *)",
|
|
"Bash(gofmt -w internal/ultrabeam/ultrabeam.go)",
|
|
"Bash(cd \"c:/Perso/Seafile/Programmation/Golang/OpsLog/frontend\" && npx tsc --noEmit 2>&1 | grep -v \"npm notice\" | head && cd .. && /c/Users/legre/go/bin/wails build 2>&1 | tail -2 && ls -la --time-style=+%H:%M build/bin/OpsLog.exe)",
|
|
"Read(//c/Perso/Seafile/Programmation/Golang/**)"
|
|
]
|
|
}
|
|
}
|