gnormal / gnorm

A database-first code generator for any language
https://gnorm.org
Other
488 stars 40 forks source link

Adds Embedded templates using filepaths or globs. Fixes #60. #93

Closed daniel-reed closed 6 months ago

daniel-reed commented 6 years ago

This update adds TemplatePaths and TemplateGlobs to gnorm.toml. Keeping them separate allows easy parsing using template.parseFiles and template.parseGlob respectively. This update does not try to handle duplicate templates or templates with a name other than their filename.

daniel-reed commented 6 years ago

@natefinch I don't think this test failure is something I can fix? The gnorm.toml file on disk no longer matches the sample file. The edits to the sample file were intentional. If it is something I can fix, please point me in the right direction.