Skip to content

Commit ff3c697

Browse files
committed
Add build scripts for osx, linux and win
1 parent 570602f commit ff3c697

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

scripts/build_linux64.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#! /bin/bash
2+
3+
SOURCE=build/Devlog/linux64/
4+
DEST=build/devlog-linux64.tar.gz
5+
6+
echo "Building for linux64"
7+
tar -zcvf $DEST -c ${SOURCE}
8+
echo "Build destination: $DEST"

scripts/build_osx64.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#! /bin/bash
2+
3+
SOURCE=build/Devlog/osx64/
4+
DEST=build/devlog-osx64.dmg
5+
TITLE=Devlog
6+
7+
echo "Building for osx 64"
8+
hdiutil create $DEST -volname "${TITLE}" -fs HFS+ -srcfolder "${SOURCE}"
9+
echo "Build destination: $DEST"

scripts/build_win64.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#! /bin/bash
2+
3+
SOURCE=build/Devlog/win64/
4+
DEST=build/devlog-win64.zip
5+
6+
echo "Building for win 64"
7+
8+
cd ${SOURCE} && zip -ru ../../devlog-win64.zip ./*
9+
10+
echo "Build destination: $DEST"

0 commit comments

Comments
 (0)