mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-07 17:36:00 +00:00
Merge pull request #12481 from keymanapp/chore/common/configure
chore(common): improve configuration detection for hextobin
This commit is contained in:
commit
f08388127e
3 changed files with 7 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -183,3 +183,6 @@ lcov.info
|
|||
/keyman*.buildinfo
|
||||
/keyman*.changes
|
||||
/keyman*.tar.?z
|
||||
|
||||
# flag file for build script
|
||||
.configured
|
||||
|
|
|
|||
|
|
@ -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 "$@"
|
||||
|
|
|
|||
|
|
@ -15,5 +15,8 @@
|
|||
"main": "build/index.js",
|
||||
"bin": {
|
||||
"hextobin": "build/hextobin.js"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "echo configured > .configured"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue