diff options
Diffstat (limited to 'build/phases.go')
-rw-r--r-- | build/phases.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/build/phases.go b/build/phases.go new file mode 100644 index 0000000..095263c --- /dev/null +++ b/build/phases.go @@ -0,0 +1,14 @@ +package build + +type Phase int + +const ( + PhasePrivileged Phase = iota + PhasePrivilegeDropped + PhasePreInstall + PhasePostInstall +) + +type PhaseCompileable interface { + InstructionsForPhase(phase Phase) []Instruction +} |