mirror of
https://github.com/digarok/Appy.git
synced 2025-01-30 20:32:10 +00:00
24 lines
425 B
Go
24 lines
425 B
Go
package core
|
|
|
|
import (
|
|
"fmt"
|
|
"log"
|
|
"os/exec"
|
|
|
|
"github.com/digarok/appy/core/project"
|
|
"github.com/fatih/color"
|
|
)
|
|
|
|
func Assemble() {
|
|
// assemble all files in list
|
|
for _, filename := range project.AppyProj.Assemble {
|
|
fmt.Printf("Assembling %v\n", filename)
|
|
|
|
out, err := exec.Command(project.LocalConf.Programs.Merlin32, "-V", filename).Output()
|
|
if err != nil {
|
|
color.Cyan(string(out))
|
|
log.Fatal(err)
|
|
}
|
|
}
|
|
}
|