Compare commits
No commits in common. "master" and "0.0.1" have entirely different histories.
@ -8,10 +8,4 @@ Arremi is a simple driver/router from Arduino USB serial to MIDI
|
||||
**Linux support not completed yet! debug needed.**
|
||||
|
||||
## Build
|
||||
just run `build.sh` and find app(mac) or tgz(linux) in `build` folder.
|
||||
|
||||
|
||||
## Known Problems
|
||||
|
||||
* Linux build failed for `andlabs/ui` [bug](https://github.com/andlabs/ui/issues/272)
|
||||
|
||||
just run `build.sh` and find app(mac) or tgz(linux) in `build` folder.
|
12
build.sh
12
build.sh
@ -2,11 +2,6 @@
|
||||
|
||||
export BUILD_BASE=build
|
||||
|
||||
function get_go_ver(){
|
||||
GOVER=`go version|awk '{print $3}'`
|
||||
export GOVER
|
||||
}
|
||||
|
||||
function get_os() {
|
||||
OS=`uname|tr '[:upper:]' '[:lower:]'`
|
||||
if [ "${GOOS}x" != "x" ]; then
|
||||
@ -29,14 +24,9 @@ function build_linux() {
|
||||
}
|
||||
|
||||
function main() {
|
||||
rm -rf build
|
||||
mkdir -p $BUILD_BASE
|
||||
get_os
|
||||
get_go_ver
|
||||
if [ $GOVER == 'go1.10' ]; then
|
||||
export CGO_LDFLAGS_ALLOW=".*"
|
||||
fi
|
||||
case $OS
|
||||
case OS
|
||||
darwin)
|
||||
build_darwin
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user