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

Repo structure #3

Open
willemneal opened this issue Sep 14, 2021 · 2 comments
Open

Repo structure #3

willemneal opened this issue Sep 14, 2021 · 2 comments

Comments

@willemneal
Copy link
Collaborator

What is the proper grain project's structure? This repo should serve as an example of it. Should it have a src and dist/build/target directories?

@phated
Copy link
Member

phated commented Sep 14, 2021

Grain currently builds files next to the sources, so this is generally the structure of a Grain project. We will be revisiting out-of-source builds in a future release (likely to happen with Silo work).

@phated
Copy link
Member

phated commented Sep 14, 2021

(This is a bit of an oversimplification because our "packaged binaries" actually output to a target directory—otherwise we wouldn't have an output location for the stdlib—but it still expects the grain files to be at the root, and then it generates the target directory relative to them)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants