forked from anaisbetts/ModernHttpClient
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
34 lines (26 loc) · 1.36 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
MDTOOL ?= /Applications/Visual\ Studio.app/Contents/MacOS/vstool
.PHONY: all clean
all: ModernHttpClient.iOS64.dll ModernHttpClient.Android.dll ModernHttpClient.Portable.dll
package: ModernHttpClient.iOS64.dll ModernHttpClient.Android.dll ModernHttpClient.Portable.dll
mono vendor/nuget/NuGet.exe pack ./ModernHttpClient.nuspec
mv modernhttpclient*.nupkg ./build/
ModernHttpClient.Android.dll:
$(MDTOOL) build -c:Release ./src/ModernHttpClient/ModernHttpClient.Android.csproj
mkdir -p ./build/MonoAndroid
mv ./src/ModernHttpClient/bin/Release/MonoAndroid/Modern* ./build/MonoAndroid
ModernHttpClient.iOS.dll:
$(MDTOOL) build -c:Release ./src/ModernHttpClient/ModernHttpClient.iOS.csproj
mkdir -p ./build/MonoTouch
mv ./src/ModernHttpClient/bin/Release/MonoTouch/Modern* ./build/MonoTouch
ModernHttpClient.iOS64.dll:
$(MDTOOL) build -c:Release ./src/ModernHttpClient/ModernHttpClient.iOS64.csproj
mkdir -p ./build/Xamarin.iOS10
mv ./src/ModernHttpClient/bin/Release/Xamarin.iOS10/Modern* ./build/Xamarin.iOS10
ModernHttpClient.Portable.dll:
$(MDTOOL) build -c:Release ./src/ModernHttpClient/ModernHttpClient.Portable.csproj
mkdir -p ./build/Portable-Net45+WinRT45+WP8+WPA81
mv ./src/ModernHttpClient/bin/Release/Portable-Net45+WinRT45+WP8+WPA81/Modern* ./build/Portable-Net45+WinRT45+WP8+WPA81
clean:
$(MDTOOL) build -t:Clean ModernHttpClient.sln
rm *.dll
rm -rf build