Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
StackExchange.Redis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
StackExchange.Redis
Commits
44a54762
Commit
44a54762
authored
Aug 24, 2017
by
Rufus
Committed by
Nick Craver
Aug 23, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use roslyn csc compiler on mono for C#7 support (#691)
parent
8831ddaa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
monobuild.bash
monobuild.bash
+2
-2
monobuild.cmd
monobuild.cmd
+2
-2
No files found.
monobuild.bash
View file @
44a54762
...
...
@@ -3,9 +3,9 @@ rm -rf BasicTest/bin/mono
mkdir
-p
StackExchange.Redis/bin/mono
mkdir
-p
BasicTest/bin/mono
echo
-e
"Building StackExchange.Redis.dll ..."
mcs
-recurse
:StackExchange.Redis/
*
.cs
-out
:StackExchange.Redis/bin/mono/StackExchange.Redis.dll
-target
:library
-unsafe
+
-o
+
-r
:System.IO.Compression.dll
csc
-recurse
:StackExchange.Redis/
*
.cs
-out
:StackExchange.Redis/bin/mono/StackExchange.Redis.dll
-target
:library
-unsafe
+
-o
+
-r
:System.IO.Compression.dll
echo
-e
"Building BasicTest.exe ..."
mcs
BasicTest/Program.cs
-out
:BasicTest/bin/mono/BasicTest.exe
-target
:exe
-o
+
-r
:StackExchange.Redis/bin/mono/StackExchange.Redis.dll
csc
BasicTest/Program.cs
-out
:BasicTest/bin/mono/BasicTest.exe
-target
:exe
-o
+
-r
:StackExchange.Redis/bin/mono/StackExchange.Redis.dll
cp
StackExchange.Redis/bin/mono/
*
.
*
BasicTest/bin/mono/
echo
-e
"Running basic test ..."
mono BasicTest/bin/mono/BasicTest.exe 10000
monobuild.cmd
View file @
44a54762
...
...
@@ -3,9 +3,9 @@
@md StackExchange.Redis\bin\mono 1>nul 2>nul
@md BasicTest\bin\mono 1>nul 2>nul
@echo Building StackExchange.Redis.dll ...
@call
mcs
-recurse:StackExchange.Redis\*.cs -out:StackExchange.Redis\bin\mono\StackExchange.Redis.dll -target:library -unsafe+ -o+ -r:System.IO.Compression.dll
@call
csc
-recurse:StackExchange.Redis\*.cs -out:StackExchange.Redis\bin\mono\StackExchange.Redis.dll -target:library -unsafe+ -o+ -r:System.IO.Compression.dll
@echo Building BasicTest.exe ...
@call
mcs
BasicTest\Program.cs -out:BasicTest\bin\mono\BasicTest.exe -target:exe -o+ -r:StackExchange.Redis\bin\mono\StackExchange.Redis.dll
@call
csc
BasicTest\Program.cs -out:BasicTest\bin\mono\BasicTest.exe -target:exe -o+ -r:StackExchange.Redis\bin\mono\StackExchange.Redis.dll
@copy StackExchange.Redis\bin\mono\*.* BasicTest\bin\mono > nul
@echo .
@echo Running basic test (Mono) ...
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment