summaryrefslogtreecommitdiffstats
path: root/python/mozbuild/mozbuild/test/frontend/data/schedules/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'python/mozbuild/mozbuild/test/frontend/data/schedules/moz.build')
-rw-r--r--python/mozbuild/mozbuild/test/frontend/data/schedules/moz.build19
1 files changed, 19 insertions, 0 deletions
diff --git a/python/mozbuild/mozbuild/test/frontend/data/schedules/moz.build b/python/mozbuild/mozbuild/test/frontend/data/schedules/moz.build
new file mode 100644
index 0000000000..3f4f450d37
--- /dev/null
+++ b/python/mozbuild/mozbuild/test/frontend/data/schedules/moz.build
@@ -0,0 +1,19 @@
+# Any copyright is dedicated to the Public Domain.
+# http://creativecommons.org/publicdomain/zero/1.0/
+
+with Files("*.win"):
+ SCHEDULES.exclusive = ["windows"]
+
+with Files("*.osx"):
+ SCHEDULES.exclusive = ["macosx"]
+
+with Files("win.and.osx"):
+ # this conflicts with the previous clause and will cause an error
+ # when read
+ SCHEDULES.exclusive = ["macosx", "windows"]
+
+with Files("subd/**.py"):
+ SCHEDULES.inclusive += ["py-lint"]
+
+with Files("**/*.js"):
+ SCHEDULES.inclusive += ["js-lint"]