morio_bridge 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/post-install.sh +13 -9
- data/morio_bridge.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05c9a25b32cb8f21f3061e6458525cd13803a4a48d6a0789db61ad51772568b3
|
4
|
+
data.tar.gz: 92215a5a2b838648fcd913bd30c53dc0e241cd126cf796793c04c6bbd0cd1b02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f32566c104cfe8ea87f6c3576ecb89cc24a973afe2ba6551e22b2d8fe893475db9dfad39a98b75959132116e863cda7392776631a31594db9507a10f2fd91ac
|
7
|
+
data.tar.gz: 4906cefa124da5039e0f96300759a290465608f606b2be54fa2d02002d51f7c0b141bf4b0c6f371f86b6de18e2ade242bd8049d7dd58352a3bb61653d77b5589
|
data/bin/post-install.sh
CHANGED
@@ -42,19 +42,23 @@ PLATFORM="$2"
|
|
42
42
|
ARCH="$3"
|
43
43
|
OUTPUT=$HOME/.morio/bin/bridge_server.js
|
44
44
|
|
45
|
-
#
|
46
|
-
|
45
|
+
# Get the directory of the script (gem's bin/ directory)
|
46
|
+
SCRIPT_DIR="$(dirname "$(realpath "$0")")"
|
47
47
|
|
48
|
-
#
|
49
|
-
|
50
|
-
ls -la
|
48
|
+
# Navigate up to the gem's root directory (e.g., /usr/local/bundle/gems/morio_bridge-0.1.0)
|
49
|
+
GEM_DIR="$(realpath "$SCRIPT_DIR/..")"
|
51
50
|
|
52
|
-
#
|
53
|
-
echo "
|
54
|
-
|
51
|
+
# log the gem and script directory
|
52
|
+
echo "gem directory: $GEM_DIR"
|
53
|
+
echo "script directory: $SCRIPT_DIR"
|
55
54
|
|
55
|
+
# list the folders and files in the gem directory
|
56
|
+
echo "gem directory contents:"
|
57
|
+
ls -la "$GEM_DIR"
|
56
58
|
|
57
|
-
|
59
|
+
|
60
|
+
|
61
|
+
cd "$GEM_DIR/server"
|
58
62
|
|
59
63
|
bun install
|
60
64
|
bun build --target=bun index.ts --outfile "$OUTPUT"
|
data/morio_bridge.gemspec
CHANGED