-
Notifications
You must be signed in to change notification settings - Fork 187
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
Build deps and project manifest #908
Conversation
}) | ||
.collect(); | ||
|
||
for (project_path, project_files) in &build_files.project_files { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add comments to this fn
vec![] | ||
}; | ||
|
||
let src_path = Path::new(path) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
create handy fn for these annoying path conversions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dope! I think this looks good 👍
Fs, | ||
} | ||
|
||
impl FileLoader { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: Comments for public functions
- A `src` directory containing two .fe files. These files show how one can import other modules and how to write tests. | ||
- A `fe.toml` manifest with basic project info and some local project imports. | ||
|
||
There are two project modes, they are main and lib. Main projects can import libraries and have code output. Libraries on the other hand cannot import main projects and do not have code outputs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: should put main
and lib
in backticks here imho
What was wrong?
There is currently no way to include libraries other than the std lib in a Fe project.
example:
To-Do