diff options
| author | Mike Vink <mike1994vink@gmail.com> | 2023-03-17 21:22:14 +0100 |
|---|---|---|
| committer | Mike Vink <mike1994vink@gmail.com> | 2023-03-17 21:22:25 +0100 |
| commit | e4781b5b08d96be1a224a2e90b519f2b749acd92 (patch) | |
| tree | e964ee010c057d86732dc43c5f38a39d82595b48 /fnl/conf/init.fnl | |
| parent | 4361670912463016c2435c6b8828d7aa7b637816 (diff) | |
add weird cmd script
Diffstat (limited to 'fnl/conf/init.fnl')
| -rw-r--r-- | fnl/conf/init.fnl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fnl/conf/init.fnl b/fnl/conf/init.fnl index 93e26cf..b1a0af1 100644 --- a/fnl/conf/init.fnl +++ b/fnl/conf/init.fnl @@ -8,6 +8,8 @@ (require :conf.lsp) (require :conf.events) +;; (require :conf.cmd) + (require :conf.diagnostic) ;; TODO: make a function that sets this autocommand: au BufWritePost currentfile :!curl -X POST -d "{\"previewRun\": true, \"yamlOverride\": \"$(cat % | yq -P)\", \"resources\": {\"repositories\": {\"self\": {\"refName\": \"refs/heads/branch\"}}}}" -s -H "Content-Type: application/json" -H "Authorization: Basic $WORK_AZDO_GIT_AUTH" "$WORK_AZDO_GIT_ORG_URL/Stater/_apis/pipelines/pipelineid/preview?api-version=7.1-preview.1" | jq -r '.finalYaml // .' > scratch.yaml |
