Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
Dapper
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
Dapper
Commits
3d4d251a
Commit
3d4d251a
authored
May 24, 2016
by
Nick Craver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch version suffix to be a build parameter
Note: build.sh needs love from OS X/*nix later to match
parent
41f1fe3e
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
22 additions
and
17 deletions
+22
-17
project.json
Dapper.Contrib/project.json
+1
-1
project.json
Dapper.EntityFramework.StrongName/project.json
+1
-1
project.json
Dapper.EntityFramework/project.json
+1
-1
project.json
Dapper.SqlBuilder/project.json
+1
-1
project.json
Dapper.StrongName/project.json
+1
-1
project.json
Dapper.Tests.Contrib/project.json
+0
-3
project.json
Dapper.Tests/project.json
+0
-1
project.json
Dapper/project.json
+1
-1
build.ps1
build.ps1
+16
-7
No files found.
Dapper.Contrib/project.json
View file @
3d4d251a
...
...
@@ -12,7 +12,7 @@
},
"authors"
:
[
"Sam Saffron"
,
"Johan Danforth"
],
"description"
:
"The official collection of get, insert, update and delete helpers for dapper.net. Also handles lists of entities and optional
\"
dirty
\"
tracking of interface-based entities."
,
"version"
:
"1.50-
rc2
"
,
"version"
:
"1.50-
*
"
,
"title"
:
"Dapper.Contrib"
,
"copyright"
:
"2016 Stack Exchange, Inc."
,
"dependencies"
:
{
...
...
Dapper.EntityFramework.StrongName/project.json
View file @
3d4d251a
...
...
@@ -12,7 +12,7 @@
},
"authors"
:
[
"Marc Gravell"
,
"Nick Craver"
],
"description"
:
"Extension handlers for entity framework"
,
"version"
:
"1.50-
rc2
"
,
"version"
:
"1.50-
*
"
,
"title"
:
"Dapper entity framework type handlers (with a strong name)"
,
"copyright"
:
"2016 Stack Exchange, Inc."
,
"dependencies"
:
{
...
...
Dapper.EntityFramework/project.json
View file @
3d4d251a
...
...
@@ -12,7 +12,7 @@
},
"authors"
:
[
"Marc Gravell"
,
"Nick Craver"
],
"description"
:
"Extension handlers for entity framework"
,
"version"
:
"1.50-
rc2
"
,
"version"
:
"1.50-
*
"
,
"title"
:
"Dapper entity framework type handlers"
,
"copyright"
:
"2016 Stack Exchange, Inc."
,
"dependencies"
:
{
...
...
Dapper.SqlBuilder/project.json
View file @
3d4d251a
...
...
@@ -12,7 +12,7 @@
},
"authors"
:
[
"Sam Saffron, Johan Danforth"
],
"description"
:
"The Dapper SqlBuilder component, for building SQL queries dynamically."
,
"version"
:
"1.50-
rc2
"
,
"version"
:
"1.50-
*
"
,
"title"
:
"Dapper SqlBuilder component"
,
"copyright"
:
"2016 Stack Exchange, Inc."
,
"dependencies"
:
{
...
...
Dapper.StrongName/project.json
View file @
3d4d251a
...
...
@@ -13,7 +13,7 @@
},
"authors"
:
[
"Sam Saffron"
,
"Marc Gravell"
,
"Nick Craver"
],
"description"
:
"A high performance Micro-ORM supporting SQL Server, MySQL, Sqlite, SqlCE, Firebird etc.."
,
"version"
:
"1.50-
rc2
"
,
"version"
:
"1.50-
*
"
,
"title"
:
"Dapper dot net (strong named)"
,
"copyright"
:
"2016 Stack Exchange, Inc."
,
"dependencies"
:
{
...
...
Dapper.Tests.Contrib/project.json
View file @
3d4d251a
...
...
@@ -17,15 +17,12 @@
"copyright"
:
"2016 Stack Exchange, Inc."
,
"dependencies"
:
{
"Dapper"
:
{
"version"
:
"1.50-*"
,
"target"
:
"project"
},
"Dapper.Contrib"
:
{
"version"
:
"1.50-*"
,
"target"
:
"project"
},
"Dapper.SqlBuilder"
:
{
"version"
:
"1.50-*"
,
"target"
:
"project"
}
},
...
...
Dapper.Tests/project.json
View file @
3d4d251a
...
...
@@ -17,7 +17,6 @@
"copyright"
:
"2016 Stack Exchange, Inc."
,
"dependencies"
:
{
"Dapper"
:
{
"version"
:
"1.50-*"
,
"target"
:
"project"
},
"Dapper.Contrib"
:
{
...
...
Dapper/project.json
View file @
3d4d251a
...
...
@@ -11,7 +11,7 @@
"url"
:
"https://github.com/StackExchange/dapper-dot-net"
}
},
"version"
:
"1.50-
rc2
"
,
"version"
:
"1.50-
*
"
,
"authors"
:
[
"Sam Saffron"
,
"Marc Gravell"
,
"Nick Craver"
],
"description"
:
"A high performance Micro-ORM supporting SQL Server, MySQL, Sqlite, SqlCE, Firebird etc.."
,
"title"
:
"Dapper dot net"
,
...
...
build.ps1
View file @
3d4d251a
param
(
[
parameter
(
Position
=
0
)][
string
]
$PreReleaseSuffix
=
''
)
$solutionPath
=
split-path
$MyInvocation
.MyCommand.Definition
$getDotNet
=
join-path
$solutionPath
"tools\install.ps1"
...
...
@@ -39,20 +42,26 @@ if ($LASTEXITCODE -ne 0)
# Build all
dir
"Dapper*"
|
where
{
$_
.PsIsContainer
}
|
foreach
{
&
$dotnet
build
"
$_
"
foreach
{
if
(
$PreReleaseSuffix
)
{
&
$dotnet
build
"
$_
"
--version-suffix
"
$PreReleaseSuffix
"
}
else
{
&
$dotnet
build
"
$_
"
}
}
# Run tests
dir
"*.Tests*"
|
where
{
$_
.PsIsContainer
}
|
foreach
{
pushd
"
$_
"
&
$dotnet
test
popd
&
$dotnet
test
"
$_
"
}
# Package all
dir
"Dapper*"
|
where
{
$_
.PsIsContainer -and
$_
-NotLike
"*.Tests*"
}
|
foreach
{
&
$dotnet
pack
"
$_
"
-c Release -o .\.nupkg\
foreach
{
if
(
$PreReleaseSuffix
)
{
&
$dotnet
pack
"
$_
"
-c Release -o .\.nupkg\ --version-suffix
"
$PreReleaseSuffix
"
}
else
{
&
$dotnet
pack
"
$_
"
-c Release -o .\.nupkg\
}
}
ls
*
/
*
/project.json |
foreach
{
echo
$_
.FullName
}
|
...
...
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