Skip to content

Commit

Permalink
copy *.apk and mapping.txt to output
Browse files Browse the repository at this point in the history
  • Loading branch information
starry90 committed Apr 11, 2018
1 parent ac37ed4 commit ba4021d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ buildApk()
./gradlew assembleRelease
#-r表示递归处理,将指定目录下的文件与子目录一并处理。
#若源文件或目录的形态,不属于目录或符号链接,则一律视为普通文件处理
echo "cp -r app/build/outputs/* to "$out_path
cp -r app/build/outputs/* $out_path
echo "cp *.apk and mapping.txt to "$out_path
cp app/build/outputs/*/*.apk $out_path
cp app/build/outputs/mapping/*/mapping.txt $out_path
echo "<< 编译成功"
exit
}
Expand Down

0 comments on commit ba4021d

Please sign in to comment.