build: remove old directive code.
This commit is contained in:
parent
7cbf8a8f9b
commit
0d16d4fdab
2 changed files with 2 additions and 206 deletions
|
|
@ -56,9 +56,8 @@ func printBuildMessage() {
|
|||
name := getFctName(fct)
|
||||
logging.Success("%v", BuildMsg[name])
|
||||
}
|
||||
for _, fct := range Directives {
|
||||
name := getFctName(fct)
|
||||
logging.Success("%v", DirectiveMsg[name])
|
||||
for _, dir := range directive.Directives {
|
||||
logging.Success("%v", dir.Message())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -87,9 +86,6 @@ func Build() error {
|
|||
for _, fct := range Builds {
|
||||
profile = fct(profile)
|
||||
}
|
||||
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