summaryrefslogtreecommitdiff
path: root/scripts/copy_bundle_assets.sh
blob: ec16ddc5ef2d95df18cb441a899ce55b7e788d96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

# Create the bundle directory if it doesn't exist
mkdir -p bundle

# Copy specific shell files to the root of the bundle directory
cp "packages/server/src/tools/shell.md" "bundle/shell.md"
cp "packages/server/src/tools/shell.json" "bundle/shell.json"

# Find and copy all .sb files from packages to the root of the bundle directory
find packages -name '*.sb' -exec cp -f {} bundle/ \;

echo "Assets copied to bundle/"