mirror of
https://github.com/hykilpikonna/hyfetch.git
synced 2026-03-22 01:34:25 -05:00
16 lines
524 B
Bash
Executable File
16 lines
524 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
echo "Building the Docker image..."
|
|
docker build -t rust-builder-general tools/rust-builder/general
|
|
|
|
echo "Running the Docker container..."
|
|
docker run --rm -v "$(pwd)":/app rust-builder-general bash -c "cd /app && ./tools/rust-builder/general/build.sh"
|
|
|
|
echo "Building MacOS Docker image..."
|
|
docker build -t rust-builder-osx tools/rust-builder/osx
|
|
|
|
echo "Running MacOS Docker container..."
|
|
docker run --rm -v "$(pwd)":/app rust-builder-osx bash -c "cd /app && ./tools/rust-builder/osx/build.sh"
|