aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/os.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--project/os.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/project/os.py b/project/os.py
index 86ccaad..2f5f088 100644
--- a/project/os.py
+++ b/project/os.py
@@ -31,6 +31,11 @@ def on_windows():
return OS.current() is OS.WINDOWS
+def on_windows_like():
+ os = OS.current()
+ return os is OS.WINDOWS or os is OS.CYGWIN
+
+
def on_linux_like():
os = OS.current()
return os is OS.LINUX or os is OS.CYGWIN