Skip to content

Commit

Permalink
Automated installer creation for OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
andralex committed Dec 23, 2011
1 parent 8ca1862 commit 34fb661
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions osx/Makefile
@@ -0,0 +1,15 @@
# makefile to build OSX installer

# Externals
VER=2.057

TEMPDIR:=$(shell echo /tmp/dmd-installer.$$RANDOM.$$RANDOM.$$RANDOM)

all:
mkdir ${TEMPDIR}
cd ${TEMPDIR} && curl http://ftp.digitalmars.com/dmd.${VER}.zip >dmd.${VER}.zip
cd ${TEMPDIR} && unzip dmd.${VER}.zip
cd ${TEMPDIR} && rm -rf dmd2/freebsd dmd2/linux dmd2/windows
./make.rb -d ${TEMPDIR}/dmd2 -o ${TEMPDIR}/dmd.${VER}
scp ${TEMPDIR}/dmd.${VER}.dmg d-programming@digitalmars.com:data/dmd.${VER}.dmg
rm -rf ${TEMPDIR}

0 comments on commit 34fb661

Please sign in to comment.