Skip to content

Instantly share code, notes, and snippets.

@OkiStuff
Created August 2, 2022 11:46
Show Gist options
  • Save OkiStuff/2d10724c429bc98e76918e4497990e3c to your computer and use it in GitHub Desktop.
Save OkiStuff/2d10724c429bc98e76918e4497990e3c to your computer and use it in GitHub Desktop.
dup {
set dil_minimum_standard "1.0"
set dil_force_backcomp true
modules {
git
shell
}
if dil_host_type eq "windows" {
git clone https://git.example.com/windows.git --recursive
}
else {
git clone https://git.example.com/other.git --recursive
}
shell <ENVVAR 0> <os dil_host_type, foo "bar"> {
echo @shellvar("os")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment