-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
38 lines (30 loc) · 1.58 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
.PHONY: all
all: compile
.PHONY: compile
compile: net40 net35
.PHONY: net40
net40:
xbuild /verbosity:minimal /tv:4.0 /p:TargetFrameworkProfile="" /p:Framework="NET40" IronSmarkets/IronSmarkets.csproj
xbuild /verbosity:minimal /tv:4.0 /p:TargetFrameworkProfile="" /p:Framework="NET40" IronSmarkets.ConsoleExample/IronSmarkets.ConsoleExample.csproj
xbuild /verbosity:minimal /tv:4.0 /p:TargetFrameworkProfile="" /p:Framework="NET40" IronSmarkets.Tests/IronSmarkets.Tests.csproj
.PHONY: net35
net35:
xbuild /verbosity:minimal /tv:3.5 /p:TargetFrameworkProfile="" /p:TargetFrameworkVersion="v3.5" /p:Framework="NET35" IronSmarkets/IronSmarkets.csproj
xbuild /verbosity:minimal /tv:3.5 /p:TargetFrameworkProfile="" /p:TargetFrameworkVersion="v3.5" /p:Framework="NET35" IronSmarkets.ConsoleExample/IronSmarkets.ConsoleExample.csproj
xbuild /verbosity:minimal /tv:3.5 /p:TargetFrameworkProfile="" /p:TargetFrameworkVersion="v3.5" /p:Framework="NET35" IronSmarkets.Tests/IronSmarkets.Tests.csproj
.PHONY: clean
clean:
rm -rf IronSmarkets/bin IronSmarkets/obj
rm -rf IronSmarkets.Tests/bin IronSmarkets.Tests/obj
rm -rf IronSmarkets.ConsoleExample/bin IronSmarkets.ConsoleExample/obj
.PHONY: distclean
distclean: clean
git clean -f -x -d
.PHONY: test
test: test35 test40
.PHONY: test40
test40: net40
mono --verify-all bin/xunit.console.clr4.exe IronSmarkets.Tests/bin/Debug/NET40/IronSmarkets.Tests.dll /nunit NUnitTestResult.xml /silent
.PHONY: test35
test35: net35
mono --verify-all bin/xunit.console.clr4.exe IronSmarkets.Tests/bin/Debug/NET35/IronSmarkets.Tests.dll /nunit NUnitTestResult.xml /silent