Skip to content

Commit

Permalink
Fix building on Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Feb 11, 2025
1 parent f854c3f commit ca9d2cb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
with:
path: |
**/node_modules
build
.rdf-test-suite-cache
.rdf-test-suite-ldf-cache
key: ${{ runner.os }}-${{ runner.node-version }}-test-modules-${{ hashFiles('**/package-lock.json') }}
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"scripts": {
"test": "rm test/*.hdt.index.* 2> /dev/null; mocha",
"lint": "eslint --fix lib/*.js test/*.js bin/*",
"validate": "npm ls"
"validate": "npm ls",
"preinstall": "if [ -e replace-in-file.json ]; then replace-in-file --configFile=replace-in-file.json; fi"
},
"dependencies": {
"minimist": "^1.1.0",
Expand All @@ -40,6 +41,7 @@
"eslint": "^5.3.0",
"mocha": "^6.2.2",
"precommit-hook": "^3.0.0",
"replace-in-file": "^8.3.0",
"should": "^13.1.0",
"@comunica/utils-bindings-factory": "^4.0.2"
},
Expand Down
5 changes: 5 additions & 0 deletions replace-in-file.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"files": "deps/libhdt/src/util/StopWatch.cpp",
"from": "uint64_t",
"to": "unsigned long long"
}

0 comments on commit ca9d2cb

Please sign in to comment.