diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-30 20:06:49 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-30 20:11:18 +0800 |
commit | 8d72e253c8bbe371e091b1ea6d365af07fd2ed26 (patch) | |
tree | 02cf7ba65c639b8094e478c7cb36921f03d5cfd6 /packages | |
parent | 33ed6a7c06dad6e96e59892f999a40e90ad93a91 (diff) | |
download | dexon-0x-contracts-8d72e253c8bbe371e091b1ea6d365af07fd2ed26.tar.gz dexon-0x-contracts-8d72e253c8bbe371e091b1ea6d365af07fd2ed26.tar.zst dexon-0x-contracts-8d72e253c8bbe371e091b1ea6d365af07fd2ed26.zip |
Add a comment
Diffstat (limited to 'packages')
-rw-r--r-- | packages/sol-compiler/src/utils/compiler.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/sol-compiler/src/utils/compiler.ts b/packages/sol-compiler/src/utils/compiler.ts index f02f872f3..77a969e1c 100644 --- a/packages/sol-compiler/src/utils/compiler.ts +++ b/packages/sol-compiler/src/utils/compiler.ts @@ -148,6 +148,11 @@ export async function compileDockerAsync( return compiled; } +/** + * Example "relative" paths: + * /user/leo/0x-monorepo/contracts/extensions/contracts/extension.sol -> extension.sol + * /user/leo/0x-monorepo/node_modules/@0x/contracts-protocol/contracts/exchange.sol -> @0x/contracts-protocol/contracts/exchange.sol + */ function makeContractPathRelative( absolutePath: string, contractsDir: string, |