mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 07:36:14 -05:00
script fixes for mac
This commit is contained in:
5
src/Api/build.sh
Normal file → Executable file
5
src/Api/build.sh
Normal file → Executable file
@ -1,13 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
DIR="$(dirname $(readlink -f $0))"
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
echo -e "\n# Building API"
|
||||
|
||||
echo -e "\nBuilding app"
|
||||
echo -e ".NET Core version $(dotnet --version)"
|
||||
dotnet publish $DIR/Api.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish
|
||||
dotnet publish $DIR/Api.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish/Api
|
||||
dotnet publish $DIR/../Jobs/Jobs.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish/Jobs
|
||||
|
||||
echo -e "\nBuilding docker image"
|
||||
docker --version
|
||||
|
2
src/Identity/build.sh
Normal file → Executable file
2
src/Identity/build.sh
Normal file → Executable file
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
DIR="$(dirname $(readlink -f $0))"
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
echo -e "\n# Building Identity"
|
||||
|
||||
|
Reference in New Issue
Block a user