Skip to content

Commit

Permalink
update Makefile [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
takenori-y committed May 16, 2024
1 parent b318818 commit db7b6fa
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
# limitations under the License. #
# ------------------------------------------------------------------------ #

TAPLO_VERSION := 0.8.1
YAMLFMT_VERSION := 0.12.1

all: SPTK taplo yamlfmt

SPTK:
Expand All @@ -22,14 +25,14 @@ SPTK:

taplo:
mkdir -p taplo
wget https://github.com/tamasfe/taplo/releases/download/0.8.1/taplo-linux-x86_64.gz -O taplo.gz
wget https://github.com/tamasfe/taplo/releases/download/$(TAPLO_VERSION)/taplo-linux-x86_64.gz -O taplo.gz
gunzip -c taplo.gz > taplo/taplo
chmod +x taplo/taplo
rm -f taplo.gz

yamlfmt:
mkdir -p yamlfmt
wget https://github.com/google/yamlfmt/releases/download/v0.11.0/yamlfmt_0.11.0_Linux_x86_64.tar.gz -O yamlfmt.tar.gz
wget https://github.com/google/yamlfmt/releases/download/v$(YAMLFMT_VERSION)/yamlfmt_$(YAMLFMT_VERSION)_Linux_x86_64.tar.gz -O yamlfmt.tar.gz
tar xzf yamlfmt.tar.gz -C yamlfmt
rm -f yamlfmt.tar.gz

Expand Down

0 comments on commit db7b6fa

Please sign in to comment.