Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalize sourceDirectories to sources #425

Merged
merged 1 commit into from
Apr 8, 2018
Merged

Conversation

jvican
Copy link
Contributor

@jvican jvican commented Apr 8, 2018

Our project abstraction only accepted source directories. This
limitation is unfounded and makes it difficult to support build tools
whose project definitions have no source directories. One example of
such a build tool is Bazel, whose Targets only know about source
files.

This patch:

  1. Renames sourceDirectories in the source code.
  2. Makes the rest of the code (Tasks and SourceWatcher) aware that
    sources does not strictly mean directories.
  3. Build upon @rberenguel's work to show the same "Watching ..." message
    in every watch iteration.

Copy link
Contributor

@rberenguel rberenguel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, especially in how to uncouple the logging of watch status

Copy link
Collaborator

@Duhemm Duhemm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Am I correct that there's no new logic in this PR?

If there are, we should consider running the community build.

@jvican
Copy link
Contributor Author

jvican commented Apr 8, 2018

@Duhemm There's no new logic 😉

Our project abstraction only accepted source directories. This
limitation is unfounded and makes it difficult to support build tools
whose project definitions have no source directories. One example of
such a build tool is Bazel, whose `Target`s only know about source
files.

This patch:

1. Renames `sourceDirectories` in the source code.
2. Makes the rest of the code (`Tasks` and `SourceWatcher`) aware that
sources does not strictly mean directories.
3. Build upon @rberenguel's work to show the same "Watching ..." message
in every watch iteration.
@Duhemm Duhemm merged commit 5a36dfb into master Apr 8, 2018
@tgodzik tgodzik deleted the topic/allow-source-files branch September 7, 2021 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants