or it can be for any language, just put the build command line in beast file? thanks.
or it can be for any language, just put the build command line in beast file? thanks.
You are right in saying that since any command can be put in the beast file, it is suitable for building a project in any language.
It is a general purpose build system, with focus on speed and usability!
- examples for using it for android or iOS, or java project, and some numbers showing its better performance?
- how to use it for an android project? gradle handles it all with target(sub targets tree structure of the build tasks...), if use Beast, will still be using gradle? or the build tools gradles is calling for different things (compile, packaging,signing...)
2. You can use it for any project you want if you know what are components of your project depend upon what other components. So as I see it, gradle is a build system for Java project in itself. Beast will not be using gradle if you are trying to compile a Java project. BUT.... you can for sure call `gradle` command from inside the beast.build file. Wherever build.gradle file is stored. So that in this case, beast provides you with an easier to use build system. Let us see an example:
In your beast file, you can have something like:
build hello:
! gradle -q hello
and inside your gradle file: task hello {
doLast {
println 'tutorialspoint'
}
}
Hope that helpsIt can do anything you want if you can provide it with proper shell commands and define targets. This can not only be used for tasks but also for physical building targets that can be built on the machine.
I believe that the project you linked here is itself also a build system and not just a task runner. But again, it uses yaml, which might not be best while defining custom things related to a build system
build pre:
! echo 'pre script'
build proj:
! gradle hello
Plus, you might want to run some python scripts or run some other shell commands during or after you have built your gradle project. build pre:
! echo 'pre script'
build proj: pre
! gradle hello
This will ensure that 'pre' scripts are run before main 'proj' script!