1
0
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:
Kyle Spearrin
2017-08-19 15:27:57 -04:00
parent 401b3b95a0
commit 3ca8801af0
13 changed files with 34 additions and 20 deletions

5
src/Api/build.sh Normal file → Executable file
View 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
View 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"