Skip to content

Scan selected src_dirs does not work in rebar3 environment #78

Description

@vasu-dasari

I have a project importing a lot of projects. So, I wanted sync to scan a subset of directories. So, I made my sys.conf like this:

{sync, [
    {src_dirs, {replace, [
        {"/Users/vdasari/Developer/foo/_build/default/lib/foo/src", [{outdir,"./_build/default/lib/foo/ebin"}]}
    ]}}
]}

I am using lager for logging purposes which uses lager_transform and hence compile time options for my files is quite different. rebar3 is able to figure out all the options properly. But, for sync it expects me to specify all the options for compiling my foo/src.

It would be good if sync can figure out compile-time options as well so that my sys.conf could look like this.

{sync, [
    {src_dirs, {replace, [
        {"foo/src", []}
    ]}}
]}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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