Created
May 13, 2019 16:35
-
-
Save cdupuis/36d9b58f6e56530ec0c44443934dc7f2 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 { 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