Refactor build and topdata path resolution through project config
This commit is contained in:
@@ -18,7 +18,7 @@ type ApplyManifestResult struct {
|
||||
|
||||
func ApplyHAKManifest(p *project.Project, manifestPath string) (ApplyManifestResult, error) {
|
||||
if manifestPath == "" {
|
||||
manifestPath = filepath.Join(p.BuildDir(), "haks.json")
|
||||
manifestPath = p.HAKManifestPath()
|
||||
}
|
||||
|
||||
raw, err := os.ReadFile(manifestPath)
|
||||
|
||||
Reference in New Issue
Block a user