Add Nodeps, Onlydeps and Force options to Compiler

See #41
This commit is contained in:
Ettore Di Giacinto
2020-02-18 18:22:18 +01:00
parent b01c017507
commit 2ce427d601
3 changed files with 72 additions and 53 deletions

View File

@@ -50,6 +50,8 @@ type CompilerOptions struct {
CompressionType CompressionImplementation
Clean bool
OnlyDeps bool
NoDeps bool
SolverOptions config.LuetSolverOptions
}
@@ -62,6 +64,8 @@ func NewDefaultCompilerOptions() *CompilerOptions {
KeepImg: true,
Concurrency: runtime.NumCPU(),
Clean: true,
OnlyDeps: false,
NoDeps: false,
}
}