Skip to content

Commit

Permalink
Add appropriate eg start script into releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
zxchris committed Apr 6, 2017
1 parent 99d1498 commit 925f14a
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ examples/apikey_injection \
examples/guides \
examples/metadata \
examples/overlay \
assets \
run_example.sh
assets

UNIX_LIST=${ZIPLIST} run_example.sh
WIN_LIST=${ZIPLIST} run_example.bat

BZW=./buildzip $@ dapperdox.exe $+
BZU=./buildzip $@ dapperdox $+
Expand Down Expand Up @@ -36,28 +38,27 @@ releaseTable: dist/release-table-${VERSION}.md
dist/release-table-${VERSION}.md:
./createReleaseTable.sh ${VERSION} > $@

${STEM}.linux-arm.tgz: dapperdox_linux_arm.exe ${ZIPLIST}
${STEM}.linux-arm.tgz: dapperdox_linux_arm.exe ${UNIX_LIST}
@${BZU}

${STEM}.linux-arm64.tgz: dapperdox_linux_arm64.exe ${ZIPLIST}
${STEM}.linux-arm64.tgz: dapperdox_linux_arm64.exe ${UNIX_LIST}
@${BZU}

${STEM}.linux-amd64.tgz: dapperdox_linux_amd64.exe ${ZIPLIST}
${STEM}.linux-amd64.tgz: dapperdox_linux_amd64.exe ${UNIX_LIST}
@${BZU}

${STEM}.linux-x86.tgz: dapperdox_linux_x86.exe ${ZIPLIST}
${STEM}.linux-x86.tgz: dapperdox_linux_x86.exe ${UNIX_LIST}
@${BZU}

${STEM}.darwin-amd64.tgz: dapperdox_darwin_amd64.exe ${ZIPLIST}
${STEM}.darwin-amd64.tgz: dapperdox_darwin_amd64.exe ${UNIX_LIST}
@${BZU}

${STEM}.windows-x86.zip: dapperdox_win_x86.exe ${ZIPLIST}
${STEM}.windows-x86.zip: dapperdox_win_x86.exe ${WIN_LIST}
@${BZW}

${STEM}.windows-amd64.zip: dapperdox_win_amd64.exe ${ZIPLIST}
${STEM}.windows-amd64.zip: dapperdox_win_amd64.exe ${WIN_LIST}
@${BZW}


dapperdox_linux_x86.exe:
GOOS=linux GOARCH=386 go build -o $@

Expand Down

0 comments on commit 925f14a

Please sign in to comment.