Skip to content

Commit 2102e4a

Browse files
matentzngouttegd
authored andcommitted
Rename yq command to yq-mf
1 parent e01e71f commit 2102e4a

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,13 @@ RUN chmod +x /tools/obodash && \
129129
# Install KGCL ROBOT plugin
130130
RUN wget -nv -O /tools/robot-plugins/kgcl.jar https://github.com/gouttegd/kgcl-java/releases/download/kgcl-java-$KGCL_JAVA_VERSION/kgcl-robot-plugin-$KGCL_JAVA_VERSION.jar
131131

132+
# Install Mike Farah's (mf) YQ command-line YAML, JSON and XML processor
132133
RUN if [ "$TARGETARCH" = "amd64" ]; then \
133-
wget -nv https://github.com/mikefarah/yq/releases/download/v$YQ_VERSION/yq_linux_amd64 -O /tools/yq && \
134-
chmod 0755 /tools/yq ; \
134+
wget -nv https://github.com/mikefarah/yq/releases/download/v$YQ_VERSION/yq_linux_amd64 -O /tools/yq-mf && \
135+
chmod 0755 /tools/yq-mf ; \
135136
elif [ "$TARGETARCH" = "arm64" ]; then \
136-
wget -nv https://github.com/mikefarah/yq/releases/download/v$YQ_VERSION/yq_linux_arm64 -O /tools/yq && \
137-
chmod 0755 /tools/yq ; \
137+
wget -nv https://github.com/mikefarah/yq/releases/download/v$YQ_VERSION/yq_linux_arm64 -O /tools/yq-mf && \
138+
chmod 0755 /tools/yq-mf ; \
138139
else \
139140
echo "Unsupported TARGETARCH: $TARGETARCH" && exit 1 ; \
140141
fi

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ test_odkfull_programs: test_odklite_programs
5252
@./tests/test-program.sh RELATION-GRAPH relation-graph --version
5353
@./tests/test-program.sh OAKLIB runoak --help
5454
@./tests/test-program.sh SSSOM-PY sssom --version
55-
@./tests/test-program.sh YQ yq --version
55+
@./tests/test-program.sh YQ-MF yq-mf --version
5656

5757
test_odkdev_programs: test_odkfull_programs
5858

0 commit comments

Comments
 (0)