projects
/
platform
/
core
/
csapi
/
tizenfx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ImageUtil] Replace deprecated decode pinvoke func. (#929)
[platform/core/csapi/tizenfx.git]
/
build.sh
diff --git
a/build.sh
b/build.sh
index
609f150
..
821253a
100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-37,9
+37,10
@@
cmd_full_build() {
if [ -d /nuget ]; then
NUGET_SOURCE_OPT="/p:RestoreSources=/nuget"
fi
if [ -d /nuget ]; then
NUGET_SOURCE_OPT="/p:RestoreSources=/nuget"
fi
+ rm -f msbuild.log
$RUN_BUILD /t:clean
$RUN_BUILD /t:restore $NUGET_SOURCE_OPT $@
$RUN_BUILD /t:clean
$RUN_BUILD /t:restore $NUGET_SOURCE_OPT $@
- $RUN_BUILD /t:build $@
+ $RUN_BUILD /t:build
/fl
$@
}
cmd_dummy_build() {
}
cmd_dummy_build() {
@@
-49,7
+50,9
@@
cmd_dummy_build() {
cmd_pack() {
VERSION=$1
if [ -z "$VERSION" ]; then
cmd_pack() {
VERSION=$1
if [ -z "$VERSION" ]; then
+ pushd $SCRIPT_DIR > /dev/null
VERSION=$VERSION_PREFIX.$((10000+$(git rev-list --count HEAD)))
VERSION=$VERSION_PREFIX.$((10000+$(git rev-list --count HEAD)))
+ popd > /dev/null
fi
$RUN_BUILD /t:pack /p:Version=$VERSION
fi
$RUN_BUILD /t:pack /p:Version=$VERSION