Skip to content

Commit e71affc

Browse files
committed
Added note discouraging the use of cross-platform builds.
1 parent ab60d5f commit e71affc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,14 @@ List of possible values of `<task-name>`:
9595

9696
#### Build or release app for one specific platform
9797
To build or release only for one specific platform you can append the plaform after the `task-name`.
98-
If no platform is provided, all the platforms will be done in sequence.
98+
If no platform is provided, the build for the host platform is run.
9999

100100
* **MacOS X** use `yarn gulp <task-name> --osx64`
101101
* **Linux** use `yarn gulp <task-name> --linux64`
102102
* **Windows** use `yarn gulp <task-name> --win32`
103103
* **Android** use `yarn gulp <task-name> --android`
104104

105+
**Note:** Support for cross-platform building is very limited due to the requirement for platform specific build tools. If in doubt, build on the target platform.
105106

106107
You can also use multiple platforms e.g. `yarn gulp <taskname> --osx64 --linux64`. Other platforms like `--win64`, `--linux32` and `--armv7` can be used too, but they are not officially supported, so use them at your own risk.
107108

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function getInputPlatforms() {
123123
const supportedPlatforms = ['linux64', 'linux32', 'armv7', 'osx64', 'win32', 'win64', 'android'];
124124
const platforms = [];
125125
const regEx = /--(\w+)/;
126-
console.log(process.argv);
126+
127127
for (let i = 3; i < process.argv.length; i++) {
128128
const arg = process.argv[i].match(regEx)[1];
129129
if (supportedPlatforms.indexOf(arg) > -1) {

0 commit comments

Comments
 (0)