Skip to content

Commit

Permalink
ci: shallow clones of submodules.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfaller committed Apr 11, 2024
1 parent 10de670 commit e81cd93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RUN git clone https://github.com/GumTreeDiff/jsparser.git /opt/jsparser --depth
&& npm --prefix /opt/jsparser/ install /opt/jsparser/

# Install tree-sitter-parser
RUN git clone --recurse-submodules https://github.com/GumTreeDiff/tree-sitter-parser.git /opt/tree-sitter-parser --depth 1 \
RUN git clone --recurse-submodules --shallow-submodules https://github.com/GumTreeDiff/tree-sitter-parser.git /opt/tree-sitter-parser --depth 1 \
&& ln -s /opt/tree-sitter-parser/tree-sitter-parser.py /usr/bin/tree-sitter-parser.py \
&& pip3 install tree_sitter pyyaml

Expand Down

0 comments on commit e81cd93

Please sign in to comment.