[Build] Add Tizen.NET.API5 package 14/158614/9 5.0.0-preview1-00393
authorWonyoung Choi <wy80.choi@samsung.com>
Thu, 2 Nov 2017 07:01:04 +0000 (16:01 +0900)
committerWonyoung Choi <wy80.choi@samsung.com>
Tue, 28 Nov 2017 10:09:36 +0000 (19:09 +0900)
Change-Id: Id6ab646c415387048698ee6a5a26ee588a3d1b92

build.cmd
build.sh
pkg/Tizen.NET.API5.nuspec [new file with mode: 0644]
pkg/Tizen.NET.Internals.nuspec
pkg/Tizen.NET.nuspec

index efd589e..6a05cf4 100644 (file)
--- a/build.cmd
+++ b/build.cmd
@@ -50,6 +50,7 @@ if /I [%VERSION_INTERNAL%] == [] set VERSION_INTERNAL=%VERSION%
 set OUTDIR=%~dp0Artifacts
 set NUGET_CMD=%~dp0tools\NuGet.exe
 %NUGET_CMD% pack %~dp0pkg\Tizen.NET.nuspec -NoPackageAnalysis -Version %VERSION% -BasePath %~dp0 -OutputDirectory %OUTDIR%
+%NUGET_CMD% pack %~dp0pkg\Tizen.NET.API5.nuspec -NoPackageAnalysis -Version %VERSION% -BasePath %~dp0 -OutputDirectory %OUTDIR%
 %NUGET_CMD% pack %~dp0pkg\Tizen.NET.Internals.nuspec -NoPackageAnalysis -Version %VERSION_INTERNAL% -BasePath %~dp0 -OutputDirectory %OUTDIR%
 goto :EOF
 
index f6317bc..4f87861 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -63,6 +63,7 @@ cmd_pack() {
   fi
 
   $NUGET_CMD pack $SCRIPT_DIR/pkg/Tizen.NET.nuspec -NoPackageAnalysis -Version $VERSION -BasePath $SCRIPT_DIR -OutputDirectory $OUTDIR
+  $NUGET_CMD pack $SCRIPT_DIR/pkg/Tizen.NET.API5.nuspec -NoPackageAnalysis -Version $VERSION -BasePath $SCRIPT_DIR -OutputDirectory $OUTDIR
   $NUGET_CMD pack $SCRIPT_DIR/pkg/Tizen.NET.Internals.nuspec -NoPackageAnalysis -Version $VERSION_INTERNAL -BasePath $SCRIPT_DIR -OutputDirectory $OUTDIR
 }
 
@@ -73,9 +74,9 @@ cmd_clean() {
 cmd=$1; shift;
 case "$cmd" in
   build|--build|-b) cmd_build $@ ;;
-  full |--full |-f)  cmd_full_build $@ ;;
+  full |--full |-f) cmd_full_build $@ ;;
   dummy|--dummy|-d) cmd_dummy_build $@ ;;
-  pack |--pack |-p)  cmd_pack $@ ;;
+  pack |--pack |-p) cmd_pack $@ ;;
   clean|--clean|-c) cmd_clean $@ ;;
-  *)     usage ;;
+  *) usage ;;
 esac
diff --git a/pkg/Tizen.NET.API5.nuspec b/pkg/Tizen.NET.API5.nuspec
new file mode 100644 (file)
index 0000000..e7e5fb0
--- /dev/null
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes"?>
+<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
+  <metadata>
+    <id>Tizen.NET.API5</id>
+    <version>$version$</version>
+    <authors>Samsung Electronics</authors>
+    <owners>Samsung Electronics</owners>
+    <requireLicenseAcceptance>false</requireLicenseAcceptance>
+    <licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
+    <projectUrl>https://www.tizen.org/</projectUrl>
+    <iconUrl>https://developer.tizen.org/sites/default/files/images/tizen-pinwheel-on-light-rgb_64_64.png</iconUrl>
+    <description>Reference assemblies of Tizen .NET API Level 5.</description>
+    <copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
+  </metadata>
+  <files>
+    <file src="Artifacts\bin\public\ref\*.dll"  target="ref\netstandard2.0" />
+    <file src="Artifacts\bin\public\*.xml"  target="ref\netstandard2.0" />
+  </files>
+</package>
index 83cbc30..96a5831 100644 (file)
@@ -2,7 +2,7 @@
 <package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
   <metadata>
     <id>Tizen.NET.Internals</id>
-    <version>5.0.0</version>
+    <version>$version$</version>
     <authors>Samsung Electronics</authors>
     <owners>Samsung Electronics</owners>
     <requireLicenseAcceptance>false</requireLicenseAcceptance>
@@ -13,9 +13,7 @@
     <copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
   </metadata>
   <files>
-
     <file src="Artifacts\bin\internal\*.dll"  target="lib\netstandard2.0" />
     <file src="Artifacts\bin\internal\*.xml"  target="lib\netstandard2.0" />
-
   </files>
 </package>
index 2b8933b..86fcc47 100644 (file)
@@ -2,22 +2,20 @@
 <package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
   <metadata>
     <id>Tizen.NET</id>
-    <version>5.0.0-preview1</version>
+    <version>$version$</version>
     <authors>Samsung Electronics</authors>
     <owners>Samsung Electronics</owners>
     <requireLicenseAcceptance>false</requireLicenseAcceptance>
     <licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
     <projectUrl>https://www.tizen.org/</projectUrl>
     <iconUrl>https://developer.tizen.org/sites/default/files/images/tizen-pinwheel-on-light-rgb_64_64.png</iconUrl>
-    <description>A set of Tizen.NET APIs. This includes all of the APIs built on top of Tizen Platform.</description>
+    <description>A set of Tizen .NET APIs. This includes all of the APIs built on top of Tizen Platform.</description>
     <copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>
+    <dependencies>
+      <dependency id="Tizen.NET.API5" version="$version$" />
+    </dependencies>
   </metadata>
   <files>
-
     <file src="pkg\build\**" target="build" />
-
-    <file src="Artifacts\bin\public\*.dll"  target="lib\netstandard2.0" />
-    <file src="Artifacts\bin\public\*.xml"  target="lib\netstandard2.0" />
-
   </files>
 </package>