Lines Matching refs:record
103 for _, record := range file.Records {
104 cmd := record.WrapperCmd.Cmd
105 str := strings.Join(append(append(record.Env, cmd.Path), cmd.Args...), " ")
107 newRecords = append(newRecords, record)
120 for _, record := range file.Records {
123 if len(newCmds) >= len(record.Cmds) {
125 record.WrapperCmd.Cmd, record.Env, record.Cmds)
128 cmdResult := record.Cmds[len(newCmds)]
145 ctx.env = record.Env
146 if record.Wd == "" {
147 record.Wd = ctx.tempDir
149 ctx.wd = record.Wd
152 ctx.writeFile(record.WrapperCmd.Cmd.Path, "")
153 record.WrapperCmd.ExitCode = callCompiler(ctx, ctx.cfg, record.WrapperCmd.Cmd)
156 record.WrapperCmd.Cmd, record.Env, ctx.stderrString())
158 if len(newCmds) < len(record.Cmds) {
160 record.WrapperCmd.Cmd, record.Env, record.Cmds)
162 record.Cmds = newCmds
163 record.WrapperCmd.Stdout = ctx.stdoutString()
164 record.WrapperCmd.Stderr = ctx.stderrString()
165 newRecords = append(newRecords, record)