Skip to content

Commit

Permalink
Setup submodule funny business
Browse files Browse the repository at this point in the history
  • Loading branch information
amika-sq committed Jan 31, 2024
1 parent 3fd6441 commit 1e5faa7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "web5-spec"]
path = web5-spec
url = https://github.com/TBD54566975/web5-spec
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
bootstrap:
# Initialize submodules
git submodule update --init
# Initialize sparse checkout in the `web5-spec` submodule
git -C web5-spec config core.sparseCheckout true
# Sparse checkout only the `test-vectors` directory from `web5-spec`
git -C web5-spec sparse-checkout set test-vectors
# Update submodules so they sparse checkout takes effect
git submodule update
format:
swift format --in-place --recursive .

1 change: 1 addition & 0 deletions web5-spec
Submodule web5-spec added at c778d3

0 comments on commit 1e5faa7

Please sign in to comment.