Skip to content

Commit 02c5fcd

Browse files
committed
JavaScriptEngineSwitcher.ChakraCore.Native.win8-arm package has been replaced by the JavaScriptEngineSwitcher.ChakraCore.Native.win-arm package
1 parent cea8741 commit 02c5fcd

File tree

16 files changed

+118
-15
lines changed

16 files changed

+118
-15
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
3+
<metadata>
4+
<id>JavaScriptEngineSwitcher.ChakraCore.Native.win-arm</id>
5+
<version>2.4.15</version>
6+
<title>JS Engine Switcher: ChakraCore for Windows (ARM)</title>
7+
<authors>Andrey Taritsyn</authors>
8+
<owners>Andrey Taritsyn</owners>
9+
<licenseUrl>http://github.com/Taritsyn/JavaScriptEngineSwitcher/blob/master/LICENSE</licenseUrl>
10+
<projectUrl>http://github.com/Taritsyn/JavaScriptEngineSwitcher</projectUrl>
11+
<iconUrl>https://raw.githubusercontent.com/Taritsyn/JavaScriptEngineSwitcher/master/Icons/JavaScriptEngineSwitcher_ChakraCore_Logo128x128.png</iconUrl>
12+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
13+
<description>This package complements the JavaScriptEngineSwitcher.ChakraCore package and contains the native implementation of ChakraCore version 1.8.3 for Windows (ARM).
14+
15+
This package is only compatible with .NET Core and .NET Framework 4.5.</description>
16+
<summary>This package complements the JavaScriptEngineSwitcher.ChakraCore package and contains the native implementation of ChakraCore version 1.8.3 for Windows (ARM).</summary>
17+
<releaseNotes>ChakraCore was updated to version 1.8.3.</releaseNotes>
18+
<copyright>Copyright (c) 2013-2018 Andrey Taritsyn - http://www.taritsyn.ru</copyright>
19+
<language>en-US</language>
20+
<tags>JavaScriptEngineSwitcher JavaScript ECMAScript ChakraCore Windows ARM</tags>
21+
</metadata>
22+
<files>
23+
<file src="**\*.*" exclude="build-package.cmd" />
24+
</files>
25+
</package>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
set project_name=JavaScriptEngineSwitcher.ChakraCore.Native.win-arm
2+
set lib_dir=..\..\lib\ChakraCore
3+
set licenses_dir=..\..\Licenses
4+
set nuget_package_manager=..\..\.nuget\nuget.exe
5+
6+
call "..\setup.cmd"
7+
8+
rmdir runtimes /Q/S
9+
del chakra-core-license.txt /Q/S
10+
11+
xcopy "%lib_dir%\runtimes\win-arm\native\ChakraCore.dll" runtimes\win-arm\native\
12+
copy "%licenses_dir%\chakra-core-license.txt" chakra-core-license.txt /Y
13+
14+
%nuget_package_manager% pack "..\%project_name%\%project_name%.nuspec"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Condition=" $(RuntimeFrameworkVersion) == '' ">
4+
<None Include="$(MSBuildThisFileDirectory)..\runtimes\win-arm\native\ChakraCore.dll">
5+
<Link>arm\ChakraCore.dll</Link>
6+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
7+
<Visible>False</Visible>
8+
</None>
9+
</ItemGroup>
10+
</Project>
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+

2+
3+
--------------------------------------------------------------------------------
4+
README file for JS Engine Switcher: ChakraCore for Windows ARM v2.4.15
5+
6+
--------------------------------------------------------------------------------
7+
8+
Copyright (c) 2013-2018 Andrey Taritsyn - http://www.taritsyn.ru
9+
10+
11+
===========
12+
DESCRIPTION
13+
===========
14+
This package complements the JavaScriptEngineSwitcher.ChakraCore package and
15+
contains the native implementation of ChakraCore version 1.8.3 for Windows (ARM).
16+
17+
This package is only compatible with .NET Core and .NET Framework 4.5.
18+
19+
=============
20+
RELEASE NOTES
21+
=============
22+
ChakraCore was updated to version 1.8.3.
23+
24+
=============
25+
DOCUMENTATION
26+
=============
27+
See documentation on GitHub -
28+
http://github.com/Taritsyn/JavaScriptEngineSwitcher
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
param($installPath, $toolsPath, $package, $project)
2+
3+
if ($project.Type -eq "Web Site") {
4+
$runtimesDirectoryPath = Join-Path $installPath "runtimes"
5+
$projectDirectoryPath = $project.Properties.Item("FullPath").Value
6+
$binDirectoryPath = Join-Path $projectDirectoryPath "bin"
7+
$assemblyFileName = "ChakraCore.dll"
8+
9+
$assemblyArmDestDirectoryPath = Join-Path $binDirectoryPath "arm"
10+
if (!(Test-Path $assemblyArmDestDirectoryPath)) {
11+
New-Item -ItemType Directory -Force -Path $assemblyArmDestDirectoryPath
12+
}
13+
14+
$assemblyArmSourceFilePath = Join-Path $runtimesDirectoryPath ("win-arm/native/" + $assemblyFileName)
15+
Copy-Item $assemblyArmSourceFilePath $assemblyArmDestDirectoryPath -Force
16+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
param($installPath, $toolsPath, $package, $project)
2+
3+
if ($project.Type -eq "Web Site") {
4+
$projectDirectoryPath = $project.Properties.Item("FullPath").Value
5+
$binDirectoryPath = Join-Path $projectDirectoryPath "bin"
6+
$assemblyFileName = "ChakraCore.dll"
7+
8+
$assemblyArmDirectoryPath = Join-Path $binDirectoryPath "arm"
9+
$assemblyArmFilePath = Join-Path $assemblyArmDirectoryPath $assemblyFileName
10+
11+
if (Test-Path $assemblyArmFilePath) {
12+
Remove-Item $assemblyArmFilePath -Force
13+
}
14+
}

NuGet/JavaScriptEngineSwitcher.ChakraCore.Native.win8-arm/JavaScriptEngineSwitcher.ChakraCore.Native.win8-arm.nuspec

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@
1010
<projectUrl>http://github.com/Taritsyn/JavaScriptEngineSwitcher</projectUrl>
1111
<iconUrl>https://raw.githubusercontent.com/Taritsyn/JavaScriptEngineSwitcher/master/Icons/JavaScriptEngineSwitcher_ChakraCore_Logo128x128.png</iconUrl>
1212
<requireLicenseAcceptance>false</requireLicenseAcceptance>
13-
<description>This package complements the JavaScriptEngineSwitcher.ChakraCore package and contains the native implementation of ChakraCore version 1.8.3 for Windows (ARM).
14-
15-
This package is only compatible with .NET Core and .NET Framework 4.5.</description>
16-
<summary>This package complements the JavaScriptEngineSwitcher.ChakraCore package and contains the native implementation of ChakraCore version 1.8.3 for Windows (ARM).</summary>
13+
<description>This package is deprecated. Instead, it is recommended to use a 'JavaScriptEngineSwitcher.ChakraCore.Native.win-arm' package.</description>
14+
<summary>This package is deprecated. Instead, it is recommended to use a 'JavaScriptEngineSwitcher.ChakraCore.Native.win-arm' package.</summary>
1715
<releaseNotes>ChakraCore was updated to version 1.8.3.</releaseNotes>
1816
<copyright>Copyright (c) 2013-2018 Andrey Taritsyn - http://www.taritsyn.ru</copyright>
1917
<language>en-US</language>

NuGet/JavaScriptEngineSwitcher.ChakraCore.Native.win8-arm/build-package.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ call "..\setup.cmd"
88
rmdir runtimes /Q/S
99
del chakra-core-license.txt /Q/S
1010

11-
xcopy "%lib_dir%\runtimes\win8-arm\native\ChakraCore.dll" runtimes\win8-arm\native\
11+
xcopy "%lib_dir%\runtimes\win-arm\native\ChakraCore.dll" runtimes\win8-arm\native\
1212
copy "%licenses_dir%\chakra-core-license.txt" chakra-core-license.txt /Y
1313

1414
%nuget_package_manager% pack "..\%project_name%\%project_name%.nuspec"

NuGet/JavaScriptEngineSwitcher.ChakraCore.Native.win8-arm/readme.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@
1111
===========
1212
DESCRIPTION
1313
===========
14-
This package complements the JavaScriptEngineSwitcher.ChakraCore package and
15-
contains the native implementation of ChakraCore version 1.8.3 for Windows (ARM).
16-
17-
This package is only compatible with .NET Core and .NET Framework 4.5.
14+
This package is deprecated. Instead, it is recommended to use a
15+
'JavaScriptEngineSwitcher.ChakraCore.Native.win-arm' package.
1816

1917
=============
2018
RELEASE NOTES

NuGet/JavaScriptEngineSwitcher.ChakraCore/JavaScriptEngineSwitcher.ChakraCore.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This package does not contain the native implementations of ChakraCore. Therefor
1616

1717
* JavaScriptEngineSwitcher.ChakraCore.Native.win-x86
1818
* JavaScriptEngineSwitcher.ChakraCore.Native.win-x64
19-
* JavaScriptEngineSwitcher.ChakraCore.Native.win8-arm
19+
* JavaScriptEngineSwitcher.ChakraCore.Native.win-arm
2020
* JavaScriptEngineSwitcher.ChakraCore.Native.linux-x64
2121
* JavaScriptEngineSwitcher.ChakraCore.Native.osx-x64</description>
2222
<summary>JavaScriptEngineSwitcher.ChakraCore contains adapter `ChakraCoreJsEngine` (wrapper for the ChakraCore).</summary>

0 commit comments

Comments
 (0)