Skip to content

Commit

Permalink
Publish LS with the .NET Native module
Browse files Browse the repository at this point in the history
  • Loading branch information
exyi committed Dec 8, 2022
1 parent 57a6614 commit 7498222
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ jobs:
cd src/tree-sitter-dotvvm
yarn install --immutable
yarn build
- name: Build .NET native module
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
cd src/native-lib-dotvvm-spy
./build.sh
- name: Build .NET native module
if: ${{ matrix.os == 'windows-latest' }}
run: |
cd src/native-lib-dotvvm-spy
./build.ps1
- name: Build language server
run: |
cd src/dothtml-basic-ls
Expand Down
4 changes: 2 additions & 2 deletions src/native-lib-dotvvm-spy/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ dotnet publish /p:NativeLib=Shared /p:SelfContained=true -r win-x64 -c Release
Copy-Item -Force -Verbose ./bin/Release/net7.0/win-x64/native/* bin/

cd node_binding
Remove-Item -Recurse build
Remove-Item -Recurse build -ErrorAction Ignore

yarn install
yarn build
yarn sanity-check
cd ..
cd ..

0 comments on commit 7498222

Please sign in to comment.