Skip to content

Commit c056a90

Browse files
committed
Replace deprecated submodule
1 parent 7039400 commit c056a90

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Diff for: .gitmodules

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[submodule "contract-dev-pack"]
2-
path = contract-dev-pack
3-
url = https://github.com/commitground/contract-dev-pack
1+
[submodule "commitground-contracts"]
2+
path = commitground-contracts
3+
url = https://github.com/commitground/commitground-contracts

Diff for: commitground-contracts

Submodule commitground-contracts added at 3a588c0

Diff for: contract-dev-pack

-1
This file was deleted.

Diff for: scripts/migrate.sh renamed to scripts/test.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/usr/bin/env bash
22

3-
cd contract-dev-pack
3+
cd `dirname "$0"` && cd ../commitground-contracts
44
ganache-cli -p 7545 > /dev/null & pid=$!
5-
if ps | grep $pid;
5+
if ps -p $pid > /dev/null
66
then
77
echo "Running ganache..."
88
else
@@ -12,7 +12,7 @@ fi
1212
sleep 5
1313
truffle migrate
1414
sleep 5
15-
cd ..
15+
cd `dirname "$0"` && cd ..
1616
mocha
1717
echo "Terminating ganache..."
1818
kill -9 $pid

0 commit comments

Comments
 (0)