(config BundleConfig)
| 69 | } |
| 70 | |
| 71 | func validateConfig(config BundleConfig) error { |
| 72 | if config.TargetVersion == "" || config.AppName == "" || config.Environment == "" { |
| 73 | return fmt.Errorf("missing required fields: target version, app name, or environment") |
| 74 | } |
| 75 | return nil |
| 76 | } |
| 77 | |
| 78 | func prepareBuildDirectory(projectDir string) error { |
| 79 | buildPath := projectDir + "build" |