fix(*): win pack.sh readme

This commit is contained in:
John Zhao 2019-09-09 16:19:10 +08:00
parent 1744826e8f
commit 67078d69c5
2 changed files with 6 additions and 8 deletions

View File

@ -66,7 +66,7 @@ _mv_subs() {
################################################################################ ################################################################################
# build release # build release
make samples tools make samples
################################################################################ ################################################################################
# build debug # build debug
@ -95,8 +95,8 @@ _rm "$ROOT_DIR/samples/_build"
_rm "$ROOT_DIR/samples/_output" _rm "$ROOT_DIR/samples/_output"
mv "$ROOT_DIR/samples" "$ROOT_DIR/_install/samples" mv "$ROOT_DIR/samples" "$ROOT_DIR/_install/samples"
# platforms/win # readme
mv "$ROOT_DIR/samples/simple_demo/README.txt" "$ROOT_DIR/_install" mv "$BASE_DIR/nsis/README.txt" "$ROOT_DIR/_install"
################################################################################ ################################################################################
# copy to _install # copy to _install
@ -142,18 +142,16 @@ mv "$ROOT_DIR/_install/3rdparty/opencv" "$ROOT_DIR/3rdparty/opencv"
# cmake # cmake
mv "$ROOT_DIR/_install/cmake" "$ROOT_DIR/cmake" mv "$ROOT_DIR/_install/cmake" "$ROOT_DIR/cmake"
# platforms/win
mkdir "$ROOT_DIR/platforms"
mv "$ROOT_DIR/_install/README.txt" "$ROOT_DIR/platforms/win"
# samples # samples
mv "$ROOT_DIR/_install/samples" "$ROOT_DIR/samples" mv "$ROOT_DIR/_install/samples" "$ROOT_DIR/samples"
# readme
mv "$ROOT_DIR/_install/README.txt" "$BASE_DIR/nsis"
################################################################################ ################################################################################
# clean build # clean build
_rm "$ROOT_DIR/_build" _rm "$ROOT_DIR/_build"
_rm "$ROOT_DIR/_output" _rm "$ROOT_DIR/_output"
_echo_d "Win pack success" _echo_d "Win pack success"