Introduce a textured cube with raylib (#2)
This commit was merged in pull request #2.
This commit is contained in:
1 parent
925b8602e8
commit
e59610cc90
35 files changed
+861
-14
No files matched your search
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash -e
|
||||
SDIR=$(cd "$(dirname "$0")" ; pwd -P)
|
||||
|
||||
T=$SDIR/step
|
||||
source $SDIR/paths
|
||||
|
||||
STEP=0
|
||||
source $T/generateDialect
|
||||
source $T/buildMac
|
||||
source $T/packageMac
|
||||
@@ -0,0 +1 @@
|
||||
APP_MAC="$SDIR/../game/ver-mac/.build/OGS Mahjong.app"
|
||||
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
killall cfprefsd 2>/dev/null || true
|
||||
sleep 1
|
||||
|
||||
rm -f $HOME/Library/Preferences/OGS\ Mahjong.plist \
|
||||
$HOME/Library/Preferences/org.opengamestudio.Mahjong.plist
|
||||
|
||||
echo "removed app preferences (window geometry)"
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash -e
|
||||
SDIR=$(cd "$(dirname "$0")" ; pwd -P)
|
||||
|
||||
T=$SDIR/step
|
||||
source $SDIR/paths
|
||||
|
||||
STEP=0
|
||||
source $T/runMac
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
STEP=$((STEP+1))
|
||||
echo -e "\n> > > > Step №$STEP. Build for macOS"
|
||||
|
||||
cd $SDIR/../game/ver-mac
|
||||
swift build # -Xswiftc -swift-version -Xswiftc 6
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
STEP=$((STEP+1))
|
||||
echo -e "\n> > > > Step №$STEP. Generate Dialect"
|
||||
|
||||
$SDIR/../../dialect/util/run-generator --file=$SDIR/../dialect.yml
|
||||
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
STEP=$((STEP+1))
|
||||
echo -e "\n> > > > Step №$STEP. Make an app package for macOS"
|
||||
|
||||
rm -rf "$APP_MAC"
|
||||
|
||||
APP_DAT="$APP_MAC/Contents"
|
||||
|
||||
mkdir -p "$APP_DAT/MacOS"
|
||||
mkdir -p "$APP_DAT/Resources"
|
||||
|
||||
cp "$SDIR/../game/ver-mac/.build/debug/ogs-mahjong" "$APP_DAT/MacOS/ogs-mahjong"
|
||||
cp "$SDIR/../game/ver-mac/Info.plist" "$APP_DAT/Info.plist"
|
||||
cp "$SDIR/../game/ver-mac/Resources/AppIcon.icns" "$APP_DAT/Resources/AppIcon.icns"
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
STEP=$((STEP+1))
|
||||
echo -e "\n> > > > Step №$STEP. Run macOS app"
|
||||
|
||||
"$APP_MAC/Contents/MacOS/ogs-mahjong"
|
||||
Reference in new issue
Block a user