Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
One way of cross-compiling local binary packages
If $METEOR_BINARY_DEP_WORKAROUND is set, then when bundling for a non-host platform (build/bundle/deploy commands only), if a package has no server unibuild for the target architecture, use the host architecture and replace the npm modules with a package.json and npm-shrinkwrap.json. Also write out a top-level setup.sh script (inside programs/server) which runs npm install in all such directories. To support this, we make sure to save the package.json and npm-shrinkwrap.json files in various intermediate directories in case we need them later. (We put them inside node_modules because that is what gets copied from source tree to isopack.)
- Loading branch information
Showing
6 changed files
with
107 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters