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
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
}
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
--- /dev/null
+<?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>
<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>
<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>
<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>