Permalink
Browse files

add make dist for (my) convenience.

  • Loading branch information...
1 parent b73cf8b commit cd1d0e8a35dcc9a82a0c8d0e70319d72cc47a619 @atsushieno committed Aug 26, 2012
Showing with 33 additions and 1 deletion.
  1. +33 −1 Makefile
View
@@ -1,4 +1,4 @@
-
+VERSION = 0.1.2
RUNTIME = mono --debug $(MONO_OPTIONS)
all: \
@@ -23,3 +23,35 @@ run-test: all
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 *

0 comments on commit cd1d0e8

Please sign in to comment.