corinthia-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jan i <j...@apache.org>
Subject Re: Small script page for the wiki?
Date Sat, 18 Apr 2015 16:39:46 GMT
On 16 April 2015 at 19:01, Gabriela Gibson <gabriela.gibson@gmail.com>
wrote:

> Franz, after revising the linux build instructions on the wiki, I realised
> that my script was building inside the source tree, which is suboptimal.
>
> I added the updated script (which now works properly) to the wiki here:
>
> https://cwiki.apache.org/confluence/display/Corinthia/Scripts+for+devs
>
> have fun,
>
Thinking loud, would it be better to have a script directory in our repo,
where  we
can keep the actual scripts, and the have the script wiki page refer to
that ?

rgds
jan I.


>
> G
>
> On Thu, Apr 16, 2015 at 2:33 PM, Franz de Copenhague <franz@apache.org>
> wrote:
>
> > > From: gabriela.gibson@gmail.com
> > > Date: Thu, 16 Apr 2015 13:51:46 +0100
> > > Subject: Small script page for the wiki?
> > > To: dev@corinthia.incubator.apache.org
> > >
> >
> > > # Usage: build-corinthia <name of directory you'd like>
> > >
> > >
> > > if test -z "$1"; then printf 'Please supply a directory name.\n'; exit;
> > fi
> > > if test -e "$1"; then printf 'The directory already exists.\n'; exit;
> fi
> > > mkdir $1
> > > cd $1
> > > git clone
> > https://git-wip-us.apache.org/repos/asf/incubator-corinthia.git
> > > cd incubator-corinthia/
> > > mkdir "build"
> > > find . -name "*.[ch]" -print0 | xargs -0 etags -
> > > cmake -G "Unix Makefiles" $pwd
> > > make
> > >
> > > That may not suit everyone, but it saves a lot on typing, and I can use
> > > that time to go make coffee instead and come back to a ready made
> > > playground :-)
> >
> > +1 Great idea, very helpful!
> >
> > franz
> >
> >
> >
>
>
>
>
> --
> Visit my Coding Diary: http://gabriela-gibson.blogspot.com/
>

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