Skip to content

Instantly share code, notes, and snippets.

@cdupuis
Created May 13, 2019 16:35
Show Gist options
  • Save cdupuis/36d9b58f6e56530ec0c44443934dc7f2 to your computer and use it in GitHub Desktop.
Save cdupuis/36d9b58f6e56530ec0c44443934dc7f2 to your computer and use it in GitHub Desktop.
import { Configuration } from "@atomist/automation-client";
import { SoftwareDeliveryMachine } from "@atomist/sdm";
import {
configureSdm,
LocalSoftwareDeliveryMachineConfiguration,
createSoftwareDeliveryMachine,
} from "@atomist/sdm-core";
function machine(cfg: LocalSoftwareDeliveryMachineConfiguration): SoftwareDeliveryMachine {
const sdm = createSoftwareDeliveryMachine({
name: "My blank SDM",
configuration: cfg,
});
return sdm;
}
/* tslint:disable:no-invalid-template-strings */
export const configuration: Configuration = {
postProcessors: [
configureSdm(machine),
],
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment