mirror of
https://github.com/thunderbrewhq/binana.git
synced 2026-03-22 22:00:13 +00:00
20 lines
367 B
Go
20 lines
367 B
Go
package profile
|
|
|
|
import (
|
|
"github.com/thunderbrewhq/binana/go/app"
|
|
"github.com/thunderbrewhq/binana/go/profile"
|
|
)
|
|
|
|
type MakeParams struct {
|
|
Profile string
|
|
profile.CompileArtifactsParams
|
|
}
|
|
|
|
func Make(params *MakeParams) {
|
|
Open(params.Profile)
|
|
defer Close()
|
|
|
|
if err := Profile.CompileArtifacts(¶ms.CompileArtifactsParams); err != nil {
|
|
app.Fatal(err)
|
|
}
|
|
}
|