Rework cache key generation a bit. (#375)

* Rework cache key generation a bit.

Cache keys are now based on the previous commands, rather than the previous state
of the filesystem.

* Refactor command interface a bit, only cache the context for commands that use it.
This commit is contained in:
dlorenc
2018-10-03 16:16:12 -05:00
committed by GitHub
parent 919df3949b
commit 734ffe65ce
28 changed files with 169 additions and 163 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ func TestShellExecuteCmd(t *testing.T) {
for _, test := range shellTests {
cmd := ShellCommand{
&instructions.ShellCommand{
cmd: &instructions.ShellCommand{
Shell: test.cmdLine,
},
}