forked from uservoice/uservoice-csharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
16 lines (13 loc) · 854 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
MONO_OPTIONS=--runtime=v4.0
LIBS=-r:Newtonsoft.Json.4.5.10/lib/net40/Newtonsoft.Json.dll -r:RestSharp.104.1/lib/net4/RestSharp.dll -r:System.Web.dll
test: build_test_suite
mono $(MONO_OPTIONS) TestSuite.exe
build_test_suite: TestSuite.exe
UserVoice.dll: UserVoice/Client.cs UserVoice/Collection.cs UserVoice/SSO.cs
dmcs $(LIBS) UserVoice/Client.cs UserVoice/Collection.cs UserVoice/SSO.cs -t:library -out:UserVoice.dll
TestSuite.exe: UserVoice.dll UserVoice.Test/Test.cs UserVoice.Test/ClientTest.cs UserVoice.Test/SSOTest.cs
dmcs $(LIBS) -r:UserVoice.dll UserVoice.Test/Test.cs UserVoice.Test/ClientTest.cs UserVoice.Test/SSOTest.cs -out:TestSuite.exe
lib: packages.config
nuget install packages.config && ln -s Newtonsoft.Json.4.5.10/lib/net40/Newtonsoft.Json.dll && ln -s RestSharp.104.1/lib/net4/RestSharp.dll
clean:
rm -f *.exe UserVoice.dll