Skip to content

Commit

Permalink
Bash script for dotnet core.
Browse files Browse the repository at this point in the history
  • Loading branch information
merbla committed May 26, 2016
1 parent 9c23571 commit 028da6c
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
for path in src/*/project.json; do
dirname="$(dirname "${path}")"
dnu restore ${dirname}
dnu build ${dirname} --framework dotnet5.4 --configuration Release --out .\artifacts\testbin;
dnu pack ${dirname} --framework dotnet5.4 --configuration Release --out .\artifacts\packages;
done

for path in test/*/project.json; do
dirname="$(dirname "${path}")"
dnu restore ${dirname}
dnu build ${dirname} --framework dotnet5.4 --configuration Release --out .\artifacts\testbin;
dnx -p ${dirname} test;
done
#!/bin/bash

dotnet restore

cd src/Serilog/

dotnet build -f netstandard1.0 -c Release
dotnet build -f netstandard1.3 -c Release

cd ../..
cd test/Serilog.Tests/

dotnet build -f netcoreapp1.0 -c Release
dotnet test -f netcoreapp1.0 -c Release

0 comments on commit 028da6c

Please sign in to comment.