Skip to content

Commit 860d699

Browse files
Merge pull request dotnet-architecture#192 from dotnet-architecture/revert-191-revert-190-fix-mac-ci-build
Revert "Revert "Fix mac ci build""
2 parents 51fcd6b + e0c96de commit 860d699

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

cli-mac/build-bits.sh

100644100755
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ projectList=(
1010
"../src/Web/WebStatus"
1111
)
1212

13+
14+
pushd $(pwd)/../src/Web/WebSPA
15+
npm install
16+
npm rebuild node-sass
17+
popd
18+
1319
for project in "${projectList[@]}"
1420
do
1521
echo -e "\e[33mWorking on $(pwd)/$project"

docker-compose.ci.build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ services:
66
volumes:
77
- .:/src
88
working_dir: /src
9-
command: /bin/bash -c "dotnet restore ./eShopOnContainers-ServicesAndWebApps.sln && dotnet publish ./eShopOnContainers-ServicesAndWebApps.sln -c Release -o ./obj/Docker/publish"
9+
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"
1010

0 commit comments

Comments
 (0)