Skip to content

Commit a47f357

Browse files
Move 5.1 build system to a variant (#207)
1 parent a461c20 commit a47f357

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

Support/Powershell.sublime-build

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,14 @@
55
"TERM": "dumb",
66
},
77

8-
"windows": {
9-
"cmd": ["powershell.exe", "-noprofile", "-ExecutionPolicy", "Bypass", "-file", "$file"],
10-
}
8+
"variants": [
9+
{
10+
"name": "Windows PowerShell (<=5.1)",
11+
"cmd": ["echo", "powershell.exe is only available on Windows. Did you want a different build variant?"],
12+
13+
"windows": {
14+
"cmd": ["powershell.exe", "-noprofile", "-ExecutionPolicy", "Bypass", "-file", "$file"],
15+
},
16+
},
17+
],
1118
}

0 commit comments

Comments
 (0)