1
0
Files
common/build.sh
2021-10-22 21:12:32 +02:00

30 lines
741 B
Bash

#!/bin/bash
CONFIGURATION=Release
pushd AMWD.Common
rm -rf bin
dotnet build -c ${CONFIGURATION} --nologo --no-incremental
popd
pushd AMWD.Common.AspNetCore
rm -rf bin
dotnet build -c ${CONFIGURATION} --nologo --no-incremental
popd
pushd AMWD.Common.EntityFrameworkCore
rm -rf bin
dotnet build -c ${CONFIGURATION} --nologo --no-incremental
popd
rm -rf build
mkdir build
mv AMWD.Common/bin/${CONFIGURATION}/*.nupkg build
mv AMWD.Common/bin/${CONFIGURATION}/*.snupkg build
mv AMWD.Common.AspNetCore/bin/${CONFIGURATION}/*.nupkg build
mv AMWD.Common.AspNetCore/bin/${CONFIGURATION}/*.snupkg build
mv AMWD.Common.EntityFrameworkCore/bin/${CONFIGURATION}/*.nupkg build
mv AMWD.Common.EntityFrameworkCore/bin/${CONFIGURATION}/*.snupkg build