sensorial-systems / ligen

Apache License 2.0
19 stars 3 forks source link

Simplify file manipulation #48

Closed notdanilo closed 3 years ago

notdanilo commented 3 years ago

Every generator needs to take care of the target-dir path and things like that.

We want to make it simpler for the developer to generate new files in the directories that ligen expects. We probably want them to give us a list with the following structure:

GenerateFile {
  relative_path: Path,
  content: Vec<u8>
}