Merge pull request #12481 from keymanapp/chore/common/configure

chore(common): improve configuration detection for hextobin
This commit is contained in:
Eberhard Beilharz 2024-10-07 16:24:18 +02:00 committed by GitHub
commit f08388127e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 1 deletions

3
.gitignore vendored
View file

@ -183,3 +183,6 @@ lcov.info
/keyman*.buildinfo
/keyman*.changes
/keyman*.tar.?z
# flag file for build script
.configured

View file

@ -11,7 +11,7 @@ THIS_SCRIPT="$(readlink -f "${BASH_SOURCE[0]}")"
builder_describe "Build hextobin" clean configure build
builder_describe_outputs \
configure /common/tools/hextobin/node_modules/commander \
configure /common/tools/hextobin/.configured \
build /common/tools/hextobin/build/index.js
builder_parse "$@"

View file

@ -15,5 +15,8 @@
"main": "build/index.js",
"bin": {
"hextobin": "build/hextobin.js"
},
"scripts": {
"postinstall": "echo configured > .configured"
}
}