Created
October 24, 2019 17:28
-
-
Save cdupuis/f841f3f6b7a53ddcf9dfbfbef752ae6d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
CompressingGoalCache, | |
configure, | |
hasRepositoryGoals, | |
RepositoryDrivenContainer, | |
} from "@atomist/sdm-core"; | |
import * as os from "os"; | |
import * as path from "path"; | |
export const configuration = configure(async sdm => { | |
sdm.configuration.sdm.cache = { | |
enabled: true, | |
path: path.join(os.homedir(), ".atomist", "cache", "container"), | |
store: new CompressingGoalCache(), | |
}; | |
return { | |
plan: { | |
test: hasRepositoryGoals, | |
goals: new RepositoryDrivenContainer(), | |
}, | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment