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
c7ea139c
Commit
c7ea139c
authored
May 01, 2020
by
Nick Craver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove build.sh
parent
b9d86eff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
63 deletions
+0
-63
build.sh
build.sh
+0
-63
No files found.
build.sh
deleted
100755 → 0
View file @
b9d86eff
#!/bin/bash
echo
""
echo
"Installing dotnet cli..."
echo
""
export
DOTNET_INSTALL_DIR
=
"./.dotnet/"
tools/install.sh
origPath
=
$PATH
export
PATH
=
"./dotnet/bin/:
$PATH
"
if
[
$?
-ne
0
]
;
then
echo
>
&2
".NET Execution Environment installation has failed."
exit
1
fi
export
DOTNET_HOME
=
"
$DOTNET_INSTALL_DIR
/cli"
export
PATH
=
"
$DOTNET_HOME
/bin:
$PATH
"
export
autoGeneratedVersion
=
false
# Generate version number if not set
if
[[
-z
"
$BuildSemanticVersion
"
]]
;
then
autoVersion
=
"
$((
(
$(
date
+%s
)
-
1451606400
)/
60
))
-
$(
date
+%S
)
"
export
BuildSemanticVersion
=
"rc2-
$autoVersion
"
autoGeneratedVersion
=
true
echo
"Set version to
$BuildSemanticVersion
"
fi
sed
-i
''
"s/99.99.99-rc2/1.0.0-
$BuildSemanticVersion
/g"
*
/
*
/project.json
# Restore packages and build product
dotnet restore
-v
Minimal
# Restore all packages
# Build all
# Note the exclude: https://github.com/dotnet/cli/issues/1342
for
d
in
Dapper
*
/
;
do
if
[
"
$d
"
!=
"*.EntityFramework.StrongName"
]
;
then
echo
"Building
$d
"
pushd
"
$d
"
dotnet build
-f
netstandard1.3
popd
fi
done
# Run tests
for
d
in
*
.Tests
*
/
;
do
echo
"Testing
$d
"
pushd
"
$d
"
dotnet
test
-f
netcoreapp1.0
popd
done
sed
-i
''
"s/1.0.0-
$BuildSemanticVersion
/99.99.99-rc2/g"
*
/
*
/project.json
if
[
$autoGeneratedVersion
]
;
then
unset
BuildSemanticVersion
fi
export
PATH
=
$origPath
\ No newline at end of file
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