Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteTemplateToFile ¶
Types ¶
type BuildScript ¶
type BuildScript struct { WorkspaceDir string FileName string FilePath string Scripts map[string]*scriptInfo }
func NewBuildScript ¶
func NewBuildScript(workspaceDir, fileName string) *BuildScript
Creates a new build.sh that will invoke multiple build scripts of processes in subdirectories of the workspace
func (*BuildScript) Add ¶
func (d *BuildScript) Add(filePath string) error
Adds a process's build script to the workspace's build.sh
filePath should be a fully qualified path to a build script that resides within a subdirectory of the workspace
Returns an error if the script resides outside of the workspace
func (*BuildScript) GenerateBuildScript ¶
func (d *BuildScript) GenerateBuildScript() error
type RunScript ¶
type RunScript struct { WorkspaceName string WorkspaceDir string FileName string FilePath string RunFuncs map[string]string // Function bodies provided by processes AllNodes map[string]ir.IRNode // All nodes seen by this run script Args map[string]ir.IRNode // Arguments that will be set in calling the environment }
func NewRunScript ¶
Creates a new run.sh that will check environment variables are set and invokes the run scripts of the processes within the workspace
func (*RunScript) GenerateRunScript ¶
Click to show internal directories.
Click to hide internal directories.