build: prepare new structure for directives.
This commit is contained in:
parent
e1d1d0be3d
commit
2ca62215bc
4 changed files with 159 additions and 3 deletions
|
|
@ -89,6 +89,7 @@ func Build() error {
|
|||
for _, fct := range Directives {
|
||||
profile = fct(file, profile)
|
||||
}
|
||||
profile = directive.Run(file, profile)
|
||||
if err := file.WriteFile([]byte(profile)); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue