And, for posterity, here's the complete script that I use to rebuild Riak
locally:
#!/bin/bash
echo 'Making deps';
make deps;
echo 'Making all';
make all;
for i in 1 2 3 4;
do for dep in deps/*;
do rm -rf dev/dev$i/lib/`basename $dep`-* && ln -sf `pwd -P`/$dep
dev/dev$i/lib;
done;
done;
Cool! Thanks for your help on this. Now I can keep breaking future versions
of Riak.
---
Jeremiah Peschka
Managing Director, Brent Ozar PLF, LLC
On Thu, Feb 16, 2012 at 7:30 AM, Sean Cribbs wrote:
> Shoot. That make target should probably have its dependencies changed so
> it doesn't rebuild de
Shoot. That make target should probably have its dependencies changed so it
doesn't rebuild devrel unless necessary. Anyway, here's an equivalent bash
script that does what you want. Run it from the top-level directory of your
clone.
for i in 1 2 3 4; do for dep in deps/*; do rm -rf dev/dev$i/lib/
I think I am tired or something, `make stagedevrel` produces an error:
$ make stagedevrel
mkdir -p dev
(cd rel && ../rebar generate target_dir=../dev/dev1
overlay_vars=vars/dev1_vars.config)
==> rel (generate)
ERROR: Release target directory
"/Users/jeremiah/Projects/riak/rel/../dev/dev1" already
Thanks!
I assume, too, that since riak control is now a requirement I should do
`make deps`, `make all`, `make stagedevrel` ?
---
Jeremiah Peschka
Managing Director, Brent Ozar PLF, LLC
On Wed, Feb 15, 2012 at 10:31 PM, Sean Cribbs wrote:
> Jeremiah,
>
> `make stagedevrel` is what you want.
>
Jeremiah,
`make stagedevrel` is what you want.
On Thu, Feb 16, 2012 at 1:23 AM, Jeremiah Peschka <
jeremiah.pesc...@gmail.com> wrote:
> Let's say that I have a copy of the riak 1.0.0 source in ~/src/basho/riak
> and that I've built a local 4 node clustering using `make devrel`. I've
> gone throu
Let's say that I have a copy of the riak 1.0.0 source in ~/src/basho/riak
and that I've built a local 4 node clustering using `make devrel`. I've
gone through and made some configuration changes for working on the .NET
client. Now that 1.1 is out, I'd like to test the 1.1 branch against my
current