summaryrefslogtreecommitdiff
path: root/build/phases.go
blob: 02e84e4a047e8d8e5f0b63671d1171b9905b52cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package build

type Phase int

const (
	PhasePrivileged Phase = iota
	PhasePrivilegeDropped
	PhasePreInstall
	PhaseInstall
	PhasePostInstall
)

type PhaseCompileable interface {
	InstructionsForPhase(phase Phase) []Instruction
}