Release 4.0.0-preview1-00092
authorDotnetBuild <dotnetbuild.tizen@gmail.com>
Mon, 21 Aug 2017 23:32:28 +0000 (08:32 +0900)
committerDotnetBuild <dotnetbuild.tizen@gmail.com>
Mon, 21 Aug 2017 23:32:28 +0000 (08:32 +0900)
Artifacts/Tizen.NET.4.0.0-preview1-00092.nupkg [moved from Artifacts/Tizen.NET.4.0.0-preview1-00091.nupkg with 97% similarity]
Artifacts/Tizen.NET.4.0.0-preview1-00092.symbols.nupkg [moved from Artifacts/Tizen.NET.4.0.0-preview1-00091.symbols.nupkg with 97% similarity]
Artifacts/Tizen.NET.Private.4.0.0-preview1-00092.nupkg [moved from Artifacts/Tizen.NET.Private.4.0.0-preview1-00091.nupkg with 97% similarity]
Artifacts/Tizen.NET.Private.4.0.0-preview1-00092.symbols.nupkg [moved from Artifacts/Tizen.NET.Private.4.0.0-preview1-00091.symbols.nupkg with 97% similarity]
Artifacts/Version.txt
Artifacts/bin/Tizen.Multimedia.dll
build.sh [new file with mode: 0755]
packaging/csapi-tizenfx.spec

similarity index 97%
rename from Artifacts/Tizen.NET.4.0.0-preview1-00091.nupkg
rename to Artifacts/Tizen.NET.4.0.0-preview1-00092.nupkg
index debf91d..49fb634 100644 (file)
Binary files a/Artifacts/Tizen.NET.4.0.0-preview1-00091.nupkg and b/Artifacts/Tizen.NET.4.0.0-preview1-00092.nupkg differ
similarity index 97%
rename from Artifacts/Tizen.NET.4.0.0-preview1-00091.symbols.nupkg
rename to Artifacts/Tizen.NET.4.0.0-preview1-00092.symbols.nupkg
index faa9485..b2327bf 100644 (file)
Binary files a/Artifacts/Tizen.NET.4.0.0-preview1-00091.symbols.nupkg and b/Artifacts/Tizen.NET.4.0.0-preview1-00092.symbols.nupkg differ
similarity index 97%
rename from Artifacts/Tizen.NET.Private.4.0.0-preview1-00091.nupkg
rename to Artifacts/Tizen.NET.Private.4.0.0-preview1-00092.nupkg
index 1406fd3..d552d1e 100644 (file)
Binary files a/Artifacts/Tizen.NET.Private.4.0.0-preview1-00091.nupkg and b/Artifacts/Tizen.NET.Private.4.0.0-preview1-00092.nupkg differ
similarity index 97%
rename from Artifacts/Tizen.NET.Private.4.0.0-preview1-00091.symbols.nupkg
rename to Artifacts/Tizen.NET.Private.4.0.0-preview1-00092.symbols.nupkg
index 943bb59..21683dc 100644 (file)
Binary files a/Artifacts/Tizen.NET.Private.4.0.0-preview1-00091.symbols.nupkg and b/Artifacts/Tizen.NET.Private.4.0.0-preview1-00092.symbols.nupkg differ
index 10c74b9..505c6fa 100644 (file)
@@ -1,4 +1,4 @@
 Prefix:4.0.0
-Suffix:preview1-00091
-Number:91
+Suffix:preview1-00092
+Number:92
 VCS:7073384dee92633d8ad48a06e402116b0588d0a1
index 7a48f38..84b41ca 100644 (file)
Binary files a/Artifacts/bin/Tizen.Multimedia.dll and b/Artifacts/bin/Tizen.Multimedia.dll differ
diff --git a/build.sh b/build.sh
new file mode 100755 (executable)
index 0000000..6da5b28
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,75 @@
+#!/bin/bash
+
+SCRIPT_FILE=$(readlink -f $0)
+SCRIPT_DIR=$(dirname $SCRIPT_FILE)
+
+# Properties
+OUTDIR=$SCRIPT_DIR/Artifacts
+
+
+
+usage() {
+  echo "Usage: $0 [options] [args]"
+  echo "    Options:"
+  echo "        -h, --help            Show this usages message"
+  echo "        -b, --build [module]  Build a module"
+  echo "        -f, --full            Build all modules in src/ directory. The module should be added in pkg/Tizen.NET.Private.sln"
+  echo "        -d, --dummy           Build dummy modules"
+  echo "        -c, --clean           Clean all artifacts"
+}
+
+cmd_clean() {
+  rm -fr $OUTDIR
+  LIST=$(find $SCRIPT_DIR -type d -a -name bin -o -name obj)
+  for d in $LIST; do
+    rm -fr $d
+  done
+}
+
+cmd_build() {
+  if [ -z "$1" ]; then
+    echo "No module specified."
+    exit 1
+  fi
+  dotnet build $SCRIPT_DIR/src/$1 --configuration=Release --output=$OUTDIR/bin
+}
+
+cmd_full_build() {
+  dotnet build $SCRIPT_DIR/pkg/Tizen.NET.Private.sln --configuration=Release --output=$OUTDIR/bin
+  nuget pack $SCRIPT_DIR/pkg/Tizen.NET.Private.nuspec -Symbols -NoPackageAnalysis -BasePath $OUTDIR -OutputDirectory $OUTDIR
+  nuget pack $SCRIPT_DIR/pkg/Tizen.NET.nuspec -Symbols -NoPackageAnalysis -BasePath $OUTDIR -OutputDirectory $OUTDIR
+}
+
+cmd_dummy_build() {
+  dotnet build $SCRIPT_DIR/pkg/Tizen.NET.Dummy.csproj --configuration=Release
+}
+
+OPTS=`getopt -o hcbfd --long help,clean,build,full,dummy -n 'build' -- "$@"`
+if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; usage; exit 1 ; fi
+eval set -- "$OPTS"
+
+FLAG_HELP=false
+FLAG_FULL=false
+FLAG_BUILD=false
+FLAG_CLEAN=false
+FLAG_DUMMY=false
+
+while true; do
+  case "$1" in
+    -h|--help) FLAG_HELP=true; shift ;;
+    -b|--build) FLAG_BUILD=true; shift ;;
+    -f|--full) FLAG_FULL=true; shift ;;
+    -d|--dummy) FLAG_DUMMY=true; shift ;;
+    -c|--clean) FLAG_CLEAN=true; shift ;;
+    --) shift; break ;;
+    *) break ;;
+  esac
+done
+
+if $FLAG_HELP; then usage; exit 1; fi
+if $FLAG_CLEAN; then cmd_clean; exit 1; fi
+if $FLAG_FULL; then cmd_full_build; exit 1; fi
+if $FLAG_BUILD; then cmd_build $@; exit 1; fi
+if $FLAG_DUMMY; then cmd_dummy_build; exit 1; fi
+
+usage;
\ No newline at end of file
index 2f7942c..1be412b 100644 (file)
@@ -5,7 +5,7 @@
 
 Name:       csapi-tizenfx
 Summary:    Assemblies of Tizen .NET
-Version:    4.0.0.91
+Version:    4.0.0.92
 Release:    1
 Group:      Development/Libraries
 License:    Apache-2.0