Skip to content

Easy Fix : add support for the truffle contracts directory #37

@davidawad

Description

@davidawad

The code currently doesn't look in the truffle config file for a contracts directory, it just looks in the repo root:

if not (project_path / "contracts").exists():

I should be able to use the configured truffle directory if I wanted to.

module.exports = {
  contracts_directory: "./src/contracts",
  networks: {

Should be an easy fix, if you really need I can make the PR :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions