Refactoring
This commit is contained in:
29
build.sh
Normal file
29
build.sh
Normal file
@@ -0,0 +1,29 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user