dobuilds

来自「Wxpython Implemented on Windows CE, Sou」· 代码 · 共 34 行

TXT
34
字号
#!/bin/sh

HOMEDIR="$PWD"

BUILDDIR_ROOT="$PWD/builds"

export WXROOT="$HOMEDIR/../../.."

do_builds {
    PORT=$1
    BUILDDIR=$BUILDDIR_ROOT/$PORT
    mkdir -p $BUILDDIR
    pushd $BUILDDIR
    
    # TODO: add the lipo universal builds to this
    export WXROOT="$HOMEDIR/../../.."
    export INSTALLDIR="$BUILDDIR/install-ansi"
    $HOMEDIR/macbuild $PORT
    
    export INSTALLDIR="$BUILDDIR/install-unicode"
    $HOMEDIR/macbuild $PORT unicode
    
    export INSTALLDIR="$BUILDDIR/install-static-ansi"
    $HOMEDIR/macbuild $PORT static
    
    export INSTALLDIR="$BUILDDIR/install-static-unicode"
    $HOMEDIR/macbuild $PORT static unicode
    
    popd
}

do_builds "carbon"

do_builds "cocoa"

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?