Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

contracts.json relative paths for contract source #37

Closed
ethers opened this issue Sep 4, 2015 · 3 comments
Closed

contracts.json relative paths for contract source #37

ethers opened this issue Sep 4, 2015 · 3 comments

Comments

@ethers
Copy link

ethers commented Sep 4, 2015

currently the contracts.json from a truffle compile produces a json where the value of source is an absolute path. a disadvantage is that everyone would have a different local path to the contract (and is also OS dependent, like /Users/tim/contract.sol vs /home/tim/contract.sol)

i am just starting out with truffle, but if relative paths could be used like ./contract.sol then teams could easily work from the same repo

@tcoulter
Copy link
Contributor

tcoulter commented Sep 8, 2015

This is a great report, thanks. I'll make sure to change it.

@tcoulter
Copy link
Contributor

Fixed in the latest commit. Closing!

@wcchh
Copy link

wcchh commented Aug 2, 2016

where is it, the location of "contracts.json" ?

benjamincburns pushed a commit that referenced this issue Oct 24, 2018
Addresses #37. Recently updated version `eth-block-tracker` uses async / await.
CruzMolina added a commit that referenced this issue Dec 6, 2019
Compile-ligo: Enable CameLIGO support
gnidan pushed a commit that referenced this issue Jan 22, 2020
Compile-ligo: Enable CameLIGO support
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants