diff --git a/README.md b/README.md index f712ca6..3a622d1 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,12 @@ Users can override `node-gyp-build` and force compiling by doing `npm install -- Prebuilds will be attempted loaded from `MODULE_PATH/prebuilds/...` and then next `EXEC_PATH/prebuilds/...` (the latter allowing use with `zeit/pkg`) +You can pass a command to execute before building from sources, for instance, to clone a repository. + +``` sh +node-gyp-build ./clone-repo.js +``` + ## Supported prebuild names If so desired you can bundle more specific flavors, for example `musl` builds to support Alpine, or targeting a numbered ARM architecture version.