Runway 1.0.0
This commit is contained in:
commit
dcf819146b
1372 files changed
+188168
No files matched your search
Executable
+21
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# install-into.sh — copy the assembled runway-demo plugin into a Runway deployment's external tree.
|
||||
# The host must be RESTARTED afterwards for the plugin to load (restart-to-install; no hot reload).
|
||||
#
|
||||
# Usage: scripts/install-into.sh <runway-external-dir>
|
||||
# e.g. scripts/install-into.sh /opt/runway-data/external
|
||||
set -euo pipefail
|
||||
|
||||
EXTERNAL="${1:?usage: install-into.sh <runway-external-dir>}"
|
||||
PROJECT_DIR="$(cd "$(dirname "$(readlink -f "$0")")/.." && pwd)"
|
||||
STAGE="$PROJECT_DIR/target/runway-demo"
|
||||
|
||||
[ -d "$STAGE" ] || { echo "ERROR: $STAGE not built — run 'mvn package' first"; exit 1; }
|
||||
[ -d "$EXTERNAL" ] || { echo "ERROR: not a directory: $EXTERNAL"; exit 1; }
|
||||
|
||||
mkdir -p "$EXTERNAL/plugins"
|
||||
rm -rf "$EXTERNAL/plugins/runway-demo"
|
||||
cp -a "$STAGE" "$EXTERNAL/plugins/runway-demo"
|
||||
echo "installed runway-demo → $EXTERNAL/plugins/runway-demo"
|
||||
echo "RESTART the Runway host for it to load (plugins load only in ACTIVE mode)."
|
||||
Reference in new issue
Block a user