mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-14 20:59:25 +00:00
docs(common/resources): update gosh.js comment
This commit is contained in:
parent
2127a0ca7f
commit
53d7ce8fdc
1 changed files with 11 additions and 3 deletions
|
|
@ -7,13 +7,21 @@
|
|||
on Windows platforms, and execute it within the current console. On *nix environments, it
|
||||
will simply launch /bin/bash.
|
||||
|
||||
Usage: in package.json, define scripts like this:
|
||||
Usage:
|
||||
|
||||
"foo": "node path/to/gosh.js foo.sh ..."
|
||||
Make sure gosh is installed with lerna, e.g.:
|
||||
|
||||
npx lerna add @keymanapp/resources-gosh path/to/your/package
|
||||
|
||||
Then, in package.json, define scripts like this:
|
||||
|
||||
"scripts": {
|
||||
"foo": "gosh ./foo.sh ..."
|
||||
}
|
||||
|
||||
For example, in common/core/web/utils/package.json, npm run build is defined as:
|
||||
|
||||
"build": "node ../../../../resources/gosh.js build.sh -skip-package-install"
|
||||
"build": "gosh ./build.sh -skip-package-install"
|
||||
|
||||
Windows launch strategy:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue