view build.sh @ 183:190ba98276b3

Several changes to make it build on posix systems. I've only tried to build on Mac OS X but it should build on Linux now as well. This should also fix ticket #9.
author Jacob Carlborg <doob@me.com>
date Mon, 25 Oct 2010 15:36:13 +0200
parents b080e62b16b4
children 9f4e5ac4f0a3
line wrap: on
line source

#!/bin/sh
# This has exactly the same semantics as the old buildscript,
# but supports extra optional command line arguments.
# Too see the supported args, run: ./build.sh --help

rdmd -unittest buildHelper.d "$@"

# Old buildscript:
##i686-unknown-linux-gnu-g++ -c bridge/bridge.cpp -obridge.o
#g++ -c bridge/bridge.cpp -obridge.o
#dmd -debug -gc @commands.linux.txt && dmd -release -O -inline @commands.linux.txt #|& head