Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed the old version of the 'build corinthia' script and added a link to the version thereof in the script directory

This is a selection of scripts some devs found useful .which can be found in /incubator-corinthia/scripts

Use at your own risk, read before use and amend to suit your taste.

Linux

Emacs / vi

Quickly

...

#! /bin/bash

# Download download and build a new Corinthia on linux, making a TAGS file for
# emacs assuming that you already have all the supporting libraries
# installed and your git set up with your comitter id.
#
# 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
mkdir incubator-corinthia/
cd incubator-corinthia/
CORINTHIA_CURRENT=$(pwd)
# make a fresh TAGS FILE
find . -name "*.[ch]" -print0 | xargs -0 etags -
# Now build outside of the source tree in a build directory
mkdir "build"
cd build
cmake -G "Unix Makefiles" $CORINTHIA_CURRENT
make
printf "Corinthia build complete, do not forget to M-x visit-tags-table to read the new TAGS file.\n"/scripts/build-corinthia-on-linux

 

Windows

 

OS X