forked from OpenRA/ra2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
make.ps1
32 lines (30 loc) · 785 Bytes
/
make.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
if ($args.Length -eq 0)
{
$command = "default"
}
elseif ($args.Length -eq 1)
{
$command = $args
if ($command -eq "help" -or
$command -eq "h" -or
$command -eq "--help" -or
$command -eq "-h" -or
$command -eq "/h" -or
$command -eq "/?")
{
echo "Target list:"
echo ""
echo " default Builds the mod dll."
echo " clean Removes the mod dll."
echo " deps Copies the mod's dependencies into the"
echo " 'OpenRA.Mods.RA2/dependencies' folder."
echo ""
echo " 'dependencies' is an alias for 'deps'"
echo ""
exit
}
elseif ($command -eq "dependencies") {
$command = "deps"
}
}
cake -target="$command"