You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/usr/bin/env bash
- #
- # Create rdbcc project and build
- #
- # Author: anjingyu_ws@foxmail.com
-
- readonly CUR_DIR=$(cd `dirname $0`; pwd)
- readonly PROJ_DIR=$(dirname ${CUR_DIR})
- readonly BINDING_DIR="$PROJ_DIR/binding"
-
- # cargo install cargo-expand
- # cargo expand ::ffi
-
- # cargo install cxxbridge-cmd
- # cxxbridge src/lib.rs
-
- pushd $BINDING_DIR 1>/dev/null 2>&1
- cargo new --name rdbcc --lib rust
- popd 1>/dev/null 2>&1
|