Skip to content

Instantly share code, notes, and snippets.

@cdupuis
Created October 24, 2019 17:28
Show Gist options
  • Save cdupuis/f841f3f6b7a53ddcf9dfbfbef752ae6d to your computer and use it in GitHub Desktop.
Save cdupuis/f841f3f6b7a53ddcf9dfbfbef752ae6d to your computer and use it in GitHub Desktop.
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