Comments (4)
Good find, though on Windows, if you monitor the background processes, you will see that the java.exe
process is not exited. Not sure if it has any side-effects, so I have been killing it once Igor.exe
exits.
from rubber.
So can you use Rubber to build iOS and Android exports? I understood it was only for Windows. If so how do you specify the export?
from rubber.
So can you use Rubber to build iOS and Android exports? I understood it was only for Windows. If so how do you specify the export?
If you look at src/cli.ts
, you just need to specify the export-platform
option, which includes: "windows" | "mac" | "linux" | "ios" | "android" | "ps4" | "xboxone" | "switch" | "html5"
from rubber.
The above solution worked on my local machine but not my build servers
Here's a different workaround I came up with. It's definitely hacky, but it's sufficient for my use case
--- a/src/cli.ts
+++ b/src/cli.ts
@@ -186,4 +186,14 @@ cli.main(async (args, options) => {
if (!igorErrors)
cli.fatal(error.message);
});
+ function kill(){
+ console.log("EXIT 0");
+ process.exit(0);
+ }
+ build.on("rawStdout", (data: string) => {
+ if(platform == "android" && data.includes("Igor Complete.")){
+ console.log("EXIT 0");
+ setTimeout(kill, 10000);
+ }
+ });
});
from rubber.
Related Issues (14)
- options_windows.yy dosent always exist, which can lead to crashes. HOT 1
- Cannot install 2.4.0 HOT 2
- Delete temp folder after executing
- Concurrent build support HOT 2
- Update npm package
- more of a question than an issue HOT 1
- SyntaxError: Unexpected token HOT 2
- Removed Feature: Direct ZIP/YYZ Input
- Cannot compile game as a zip file HOT 1
- Always does fresh compile, can it do iterative compile?
- Can it clear the cache?
- getting a list of errors
- 7 Files we need to create? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rubber.