mirror of
https://github.com/rancher/os.git
synced 2025-06-23 13:37:03 +00:00
21 lines
397 B
Bash
Executable File
21 lines
397 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
export ARCH=${ARCH:-amd64}
|
|
|
|
cd $(dirname $0)
|
|
|
|
if [ "$1" != "--dev" ]; then
|
|
echo
|
|
echo Running \"production\" build. Will use lzma to compress initrd, which is somewhat slow...
|
|
echo Ctrl+C if you don\'t want this.
|
|
echo
|
|
echo For \"developer\" builds, run ./build.sh --dev
|
|
echo
|
|
./scripts/make.sh all
|
|
else
|
|
./scripts/make.sh DEV_BUILD=1 all
|
|
fi
|
|
|
|
ls -lh dist/artifacts
|