1
0
mirror of https://github.com/rancher/os.git synced 2025-07-12 06:07:59 +00:00
os/build.sh
2015-12-18 19:24:24 +05:00

18 lines
346 B
Bash
Executable File

#!/bin/bash
set -e
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
dapper -k make all
else
dapper -k make DEV_BUILD=1 all
fi
ls -lh dist/artifacts