mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
chore(common): create flag file without node
Addresses code review comments.
This commit is contained in:
parent
d552b44a9d
commit
3056128c14
3 changed files with 5 additions and 2 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/build/.configured \
|
||||
configure /common/tools/hextobin/.configured \
|
||||
build /common/tools/hextobin/build/index.js
|
||||
|
||||
builder_parse "$@"
|
||||
|
|
|
|||
|
|
@ -17,6 +17,6 @@
|
|||
"hextobin": "build/hextobin.js"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "node --eval \"const fs =require('fs'); const path = require('path'); var dir = 'build'; if (!fs.existsSync(dir)) { fs.mkdirSync(dir); } fs.writeFileSync(path.join(dir, '.configured'), '');\""
|
||||
"postinstall": "echo configured > .configured"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue