Add contract dependency on another package

Update gitignore
This commit is contained in:
emizzle 2019-01-18 13:13:55 +11:00
parent af6d578d0e
commit 8fa5776a2d
4 changed files with 14 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
node_modules

View File

@ -18,5 +18,8 @@
"repository": {
"type": "git",
"url": "https://github.com/embark-framework/embark-test-contract"
},
"dependencies": {
"embark-test-contract-1": "^0.0.1"
}
}

View File

@ -1,5 +1,7 @@
pragma solidity ^0.5.0;
import "embark-test-contract-1/recursive_test_4.sol";
contract SimpleStorageRecursive3 {
uint public storedData;

8
yarn.lock Normal file
View File

@ -0,0 +1,8 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
embark-test-contract-1@^0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/embark-test-contract-1/-/embark-test-contract-1-0.0.1.tgz#802b84150e8038fef6681a3f23b6f4c0dc5b3e80"
integrity sha512-yFaXMOXOMfYRNFOKEspdXrZzyovceWedtegHtbfs8RZWRzRYY+v6ZDtGm13TRJt3Qt4VZhKky0l7G/SHZMGHCA==