This repository has been archived by the owner on Feb 8, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Makefile
57 lines (45 loc) · 2.27 KB
/
Makefile
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
VERSION = 0.1.2
RUNTIME = mono --debug $(MONO_OPTIONS)
all: \
System.Reactive.Tests2/bin/Debug/System.Reactive.Tests.dll \
System.Reactive.Tests/bin/Debug/System.Reactive.Tests.dll
System.Reactive/bin/Debug/System.Reactive.dll:
xbuild mono-reactive.sln || exit
System.Reactive.Tests/bin/Debug/System.Reactive.Tests.dll: System.Reactive/bin/Debug/System.Reactive.dll System.Reactive.Tests/*/*.cs
xbuild mono-reactive.sln
System.Reactive.Tests2/bin/Debug/System.Reactive.Tests.dll: System.Reactive.Tests/*/*.cs
xbuild mono-reactive2.sln
clean:
xbuild mono-reactive2.sln /t:Clean
xbuild mono-reactive.sln /t:Clean
run-test: all
$(RUNTIME) external/nunit26/nunit-console.exe System.Reactive.Tests/bin/Debug/System.Reactive.Tests.dll $(NUNIT_OPTIONS)
run-test2: all
$(RUNTIME) external/nunit26/nunit-console.exe System.Reactive.Tests2/bin/Debug/System.Reactive.Tests.dll $(NUNIT_OPTIONS)
dist:
xbuild mono-reactive.sln
xbuild mono-reactive2.sln
mkdir -p Binaries
mkdir -p Binaries/Rx1.0
mkdir -p Binaries/Rx2.0
cp System.Reactive/bin/Debug/*.dll* Binaries/Rx1.0
cp System.Reactive.Providers/bin/Debug/*.dll* Binaries/Rx1.0
cp Mono.Reactive.Testing/bin/Debug/*.dll* Binaries/Rx1.0
cp System.Reactive.Linq/bin/Debug/*.dll* Binaries/Rx2.0
cp System.Reactive.Providers2/bin/Debug/*.dll* Binaries/Rx2.0
cp Mono.Reactive.Testing2/bin/Debug/*.dll* Binaries/Rx2.0
xbuild mono-reactive.sln /p:Configuration=Debug /t:Clean
xbuild mono-reactive2.sln /p:Configuration=Debug /t:Clean
rm -rf System.Reactive/bin System.Reactive/obj
rm -rf System.Reactive.Interfaces/bin System.Reactive.Interfaces/obj
rm -rf System.Reactive.Core/bin System.Reactive.Core/obj
rm -rf System.Reactive.PlatformServices/bin System.Reactive.PlatformServices/obj
rm -rf System.Reactive.Linq/bin System.Reactive.Linq/obj
rm -rf System.Reactive.Providers/bin System.Reactive.Providers/obj
rm -rf System.Reactive.Providers2/bin System.Reactive.Providers2/obj
rm -rf System.Reactive.Runtime.Remoting/bin System.Reactive.Runtime.Remoting/obj
rm -rf Mono.Reactive.Testing/bin Mono.Reactive.Testing/obj
rm -rf Mono.Reactive.Testing2/bin Mono.Reactive.Testing2/obj
rm -rf System.Reactive.Tests/bin System.Reactive.Tests/obj
rm -rf System.Reactive.Tests2/bin System.Reactive.Tests2/obj
tar jcf mono-reactive-$(VERSION).tar.bz2 *