17 lines
325 B
Bash
17 lines
325 B
Bash
#!/bin/bash
|
|
cd "$( cd "$( dirname "$0" )" &> /dev/null && pwd )"
|
|
|
|
#Get Distrobuilder
|
|
git clone https://github.com/lxc/distrobuilder distrobuilderSRC
|
|
cd distrobuilderSRC
|
|
|
|
#Apply patch
|
|
git apply ../DisableArchitectureMapping.patch
|
|
|
|
#Run Build for Build
|
|
gofmt -s -w .
|
|
go build -o ../ -v ./...
|
|
|
|
rm -rf distrobuilderSRC
|
|
mkdir out
|