Skip to content

Commit

Permalink
Put the submodules in parent directories
Browse files Browse the repository at this point in the history
This helps organize code a little better and also provides context to what "solidity-contracts" is
  • Loading branch information
beaurancourt committed Jul 12, 2023
1 parent aede19d commit b195086
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[submodule "keep-core"]
path = keep-core
url = https://github.com/keep-network/keep-core.git
[submodule "solidity-contracts"]
path = solidity-contracts
url = https://github.com/threshold-network/solidity-contracts
[submodule "tbtc-v2"]
path = tbtc-v2
[submodule "keep-network/keep-core"]
path = keep-network/keep-core
url = https://github.com/keep-network/keep-core
[submodule "keep-network/tbtc-v2"]
path = keep-network/tbtc-v2
url = https://github.com/keep-network/tbtc-v2
[submodule "threshold-network/solidity-contracts"]
path = threshold-network/solidity-contracts
url = https://github.com/threshold-network/solidity-contracts
6 changes: 3 additions & 3 deletions Dockerfile.geth
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ RUN apk add --update --no-cache bash git geth make gcc g++ && \
# See: https://github.com/keep-network/tbtc-v2/blob/f53cb9ced50eaa8cfabcdf12cdcdc24a81a0ae11/.github/workflows/contracts.yml#L76-L80
RUN git config --global url."https://".insteadOf git://

COPY ./solidity-contracts /solidity-contracts
COPY ./threshold-network/solidity-contracts /solidity-contracts
WORKDIR /solidity-contracts
RUN git init
RUN yarn install
RUN yarn build
RUN yarn link
RUN yarn prepack

COPY ./keep-core /keep-core
COPY ./keep-network/keep-core /keep-core
WORKDIR /keep-core
RUN git init

Expand All @@ -53,7 +53,7 @@ RUN yarn build
RUN yarn link
RUN yarn prepack

COPY ./tbtc-v2 /tbtc-v2
COPY ./keep-network/tbtc-v2 /tbtc-v2
WORKDIR /tbtc-v2
RUN git init
WORKDIR /tbtc-v2/solidity
Expand Down
1 change: 0 additions & 1 deletion keep-core
Submodule keep-core deleted from 16a481
1 change: 1 addition & 0 deletions keep-network/keep-core
Submodule keep-core added at 041d31
1 change: 1 addition & 0 deletions keep-network/tbtc-v2
Submodule tbtc-v2 added at 55e273
1 change: 0 additions & 1 deletion solidity-contracts
Submodule solidity-contracts deleted from f468a7
1 change: 0 additions & 1 deletion tbtc-v2
Submodule tbtc-v2 deleted from 2254cf
1 change: 1 addition & 0 deletions threshold-network/solidity-contracts
Submodule solidity-contracts added at f6996d

0 comments on commit b195086

Please sign in to comment.