cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmad Emneina <aemne...@gmail.com>
Subject Re: How to dramatically reduce the build time:)
Date Thu, 04 Apr 2013 04:39:37 GMT
holy moly, thats a serious bash one liner.


On Wed, Apr 3, 2013 at 6:18 PM, Edison Su <Edison.su@citrix.com> wrote:

> As a poor man, don't have luxury build machine as Alex has, I find a way
> may help you a little bit to build cloudstack as quick as possible:
> mvn -pl `git status --porcelain |sed '/^?/d'| awk '{print $2}' |sed
> 's/\/src/$/'|cut -d $ -f 1|uniq |tr "\n" "," |sed 's/,$/,client/'` clean
> install
> It tries to find out what has been changed in your local workspace through
> git, then tell mvn to build corresponding modified maven projects. Not
> perfect though, maybe work for some:)
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message