]> gitweb.factorcode.org Git - factor.git/blob - extra/mason/release/branch/branch-tests.factor
more test IN: cleanup.
[factor.git] / extra / mason / release / branch / branch-tests.factor
1 USING: mason.release.branch mason.config tools.test namespaces
2 system ;
3
4 { { "git" "push" "-f" "joe@blah.com:/my/git" "master:clean-linux-x86-32" } } [
5     [
6         "joe" branch-username set
7         "blah.com" branch-host set
8         "/my/git" branch-directory set
9         linux target-os set
10         x86.32 target-cpu set
11         push-to-clean-branch-cmd
12     ] with-scope
13 ] unit-test
14
15 { { "scp" "boot.windows-x86.64.image" "joe@blah.com:/stuff/clean/windows-x86-64" } } [
16     [
17         "scp" scp-command set
18         "joe" image-username set
19         "blah.com" image-host set
20         "/stuff/clean" image-directory set
21         windows target-os set
22         x86.64 target-cpu set
23         upload-clean-image-cmd
24     ] with-scope
25 ] unit-test