Merge pull request #190 from BillWagner/fix-mac-ci-build
Fix mac ci build
This commit is contained in:
commit
1c15297648
6
cli-mac/build-bits.sh
Normal file → Executable file
6
cli-mac/build-bits.sh
Normal file → Executable file
@ -10,6 +10,12 @@ projectList=(
|
|||||||
"../src/Web/WebStatus"
|
"../src/Web/WebStatus"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
pushd $(pwd)/../src/Web/WebSPA
|
||||||
|
npm install
|
||||||
|
npm rebuild node-sass
|
||||||
|
popd
|
||||||
|
|
||||||
for project in "${projectList[@]}"
|
for project in "${projectList[@]}"
|
||||||
do
|
do
|
||||||
echo -e "\e[33mWorking on $(pwd)/$project"
|
echo -e "\e[33mWorking on $(pwd)/$project"
|
||||||
|
@ -6,5 +6,5 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- .:/src
|
- .:/src
|
||||||
working_dir: /src
|
working_dir: /src
|
||||||
command: /bin/bash -c "dotnet restore ./eShopOnContainers-ServicesAndWebApps.sln && dotnet publish ./eShopOnContainers-ServicesAndWebApps.sln -c Release -o ./obj/Docker/publish"
|
command: /bin/bash -c "pushd ./src/Web/WebSPA && npm install && npm rebuild node-sass && popd && dotnet restore ./eShopOnContainers-ServicesAndWebApps.sln && dotnet publish ./eShopOnContainers-ServicesAndWebApps.sln -c Release -o ./obj/Docker/publish"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user