Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

root/tags/releases/0.99.8/lib/build-dmd.sh

Revision 4384, 454 bytes (checked in by fawzi, 3 years ago)

reducing diffs with druntime, adding mac support, general reorganization

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1 #!/usr/bin/env bash
2
3 OLDHOME=$HOME
4 export HOME=`pwd`
5
6 goerror(){
7     export HOME=$OLDHOME
8     echo "="
9     echo "= *** Error ***"
10     echo "="
11     exit 1
12 }
13
14 # Version specific settings
15 . dmdinclude
16 dmdsettings
17
18 make clean-all -fdmd-posix.mak           || goerror
19 make all install -fdmd-posix.mak SYSTEM_VERSION="$POSIXFLAG"  || goerror
20 make clean -fdmd-posix.mak           || goerror
21 chmod 644 ../tango/core/*.di         || goerror
22
23 export HOME=$OLDHOME
Note: See TracBrowser for help on using the browser.