Skip to content

Commit

Permalink
Use shallow clone when cloning runtime and tests repos
Browse files Browse the repository at this point in the history
  • Loading branch information
generalmimon committed Jan 1, 2025
1 parent f1f1d11 commit 4dfdee6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/csharp/_common/prepare
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh -ef

git clone https://github.com/kaitai-io/kaitai_struct_csharp_runtime /download/runtime/csharp
git clone https://github.com/kaitai-io/kaitai_struct_tests /download/tests
git clone --depth 1 https://github.com/kaitai-io/kaitai_struct_csharp_runtime /download/runtime/csharp
git clone --depth 1 https://github.com/kaitai-io/kaitai_struct_tests /download/tests

cd /download/tests
./run-csharp --project
Expand Down
2 changes: 1 addition & 1 deletion src/php/_common/prepare
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ apt-get install -y --no-install-recommends \

# Install Kaitai Struct runtime
mkdir -p /download/runtime
git clone https://github.com/kaitai-io/kaitai_struct_php_runtime /download/runtime/php
git clone --depth 1 https://github.com/kaitai-io/kaitai_struct_php_runtime /download/runtime/php

# Install Composer
curl https://getcomposer.org/installer -o composer-setup.php
Expand Down

0 comments on commit 4dfdee6

Please sign in to comment.