Skip to content

Commit 9797fd0

Browse files
committed
feat: pof of static binaries
1 parent 5952c75 commit 9797fd0

4 files changed

Lines changed: 17 additions & 0 deletions

File tree

‎box.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"chmod": "0755",
3+
"check-requirements": false,
34
"directories": [
45
"app",
56
"bootstrap",

‎build/build.sh‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
3+
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
4+
LATEST_TAG=$( git describe --tags --abbrev=0 )
5+
6+
$SCRIPT_DIR/../unload app:build --build-version=$LATEST_TAG
7+
8+
echo "Creating static binaries..."
9+
10+
mkdir -p $SCRIPT_DIR/../builds/linux
11+
mkdir -p $SCRIPT_DIR/../builds/macos
12+
13+
cat $SCRIPT_DIR/linux.sfx $SCRIPT_DIR/../builds/unload > $SCRIPT_DIR/../builds/linux/unload
14+
cat $SCRIPT_DIR/macos.sfx $SCRIPT_DIR/../builds/unload > $SCRIPT_DIR/../builds/macos/unload
15+
16+
echo "Build complete!"

‎build/linux.sfx‎

23.9 MB
Binary file not shown.

‎build/macos.sfx‎

27.2 MB
Binary file not shown.

0 commit comments

Comments
 (0)