Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
arch-boxes
Commits
44a84cbc
Commit
44a84cbc
authored
Feb 10, 2020
by
Ju
Committed by
Christian Rebischke
Feb 10, 2020
Browse files
Add automatic update for shfmt
parent
03a4e66e
Changes
1
Hide whitespace changes
Inline
Side-by-side
generic-ci.sh
View file @
44a84cbc
...
...
@@ -24,8 +24,10 @@ case $1 in
;;
install-shfmt
)
curl
-Lo
shfmt https://github.com/mvdan/sh/releases/download/v2.6.4/shfmt_v2.6.4_linux_amd64
SHFMT_VERSION
=
"
$(
curl
-s
https://api.github.com/repos/mvdan/sh/releases/latest | jq
-r
-M
'.tag_name'
)
"
curl
-Lo
shfmt https://github.com/mvdan/sh/releases/download/
"
${
SHFMT_VERSION
}
"
/shfmt_
"
${
SHFMT_VERSION
}
"
_linux_amd64
chmod
+x ./shfmt
./shfmt
--version
;;
install-yapf
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment