mirror of
https://github.com/GayPizzaSpecifications/foundation.git
synced 2025-08-02 13:10:55 +00:00
24 lines
515 B
Bash
Executable File
24 lines
515 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
rm -rf artifacts/
|
|
|
|
mkdir -p artifacts/
|
|
mkdir -p artifacts/build/manifests
|
|
cp build/manifests/update.json artifacts/build/manifests/
|
|
cp build/manifests/manifest.json artifacts/
|
|
|
|
find . -name "*-plugin.jar" | grep "foundation-" | while read -r JAR
|
|
do
|
|
DN="$(dirname "${JAR}")"
|
|
mkdir -p "artifacts/$DN"
|
|
cp "${JAR}" "artifacts/${JAR}"
|
|
done
|
|
|
|
find . -name "tool-*-all.jar" | while read -r JAR
|
|
do
|
|
DN="$(dirname "${JAR}")"
|
|
mkdir -p "artifacts/$DN"
|
|
cp "${JAR}" "artifacts/${JAR}"
|
|
done
|