Skip to content

Commit 916071b

Browse files
committed
JavaScriptEngineSwitcher.ChakraCore.Native.win8-arm package has been replaced by the JavaScriptEngineSwitcher.ChakraCore.Native.win-arm package
1 parent 5a007fb commit 916071b

File tree

11 files changed

+115
-7
lines changed

11 files changed

+115
-7
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>netstandard2.0</TargetFramework>
5+
<IncludeBuildOutput>false</IncludeBuildOutput>
6+
<NuspecFile>$(MSBuildProjectName).nuspec</NuspecFile>
7+
</PropertyGroup>
8+
9+
<Import Project="../../build/nuget-common.props" />
10+
11+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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>3.0.0-beta2</version>
6+
<title>JS Engine Switcher: ChakraCore for Windows (ARM)</title>
7+
<authors>Andrey Taritsyn</authors>
8+
<owners>Andrey Taritsyn</owners>
9+
<licenseUrl>https://github.com/Taritsyn/JavaScriptEngineSwitcher/blob/master/LICENSE</licenseUrl>
10+
<projectUrl>https://github.com/Taritsyn/JavaScriptEngineSwitcher</projectUrl>
11+
<iconUrl>https://raw.githubusercontent.com/Taritsyn/JavaScriptEngineSwitcher/master/Icons/JavaScriptEngineSwitcher_ChakraCore_Logo128x128.png</iconUrl>
12+
<repository type="git" url="https://github.com/Taritsyn/JavaScriptEngineSwitcher" />
13+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
14+
<description>This package complements the JavaScriptEngineSwitcher.ChakraCore package and contains the native implementation of ChakraCore version 1.8.3 for Windows (ARM).
15+
16+
This package is only compatible with .NET Core and .NET Framework 4.5.</description>
17+
<releaseNotes>ChakraCore was updated to version 1.8.3.</releaseNotes>
18+
<copyright>Copyright © 2013-2018 Andrey Taritsyn</copyright>
19+
<language>en-US</language>
20+
<tags>JavaScriptEngineSwitcher JavaScript ECMAScript ChakraCore Windows ARM</tags>
21+
</metadata>
22+
<files>
23+
<file src="../../lib/ChakraCore/runtimes/win-arm/native/ChakraCore.dll" target="runtimes/win-arm/native/" />
24+
<file src="build/JavaScriptEngineSwitcher.ChakraCore.Native.win-arm.props" target="build/" />
25+
<file src="tools/Install.ps1" target="tools/" />
26+
<file src="tools/Uninstall.ps1" target="tools/" />
27+
<file src="readme.txt" />
28+
<file src="../../Licenses/chakra-core-license.txt" target="chakra-core-license.txt" />
29+
</files>
30+
</package>
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 v3.0.0 Beta 2
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+
}

src/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
@@ -11,16 +11,14 @@
1111
<iconUrl>https://raw.githubusercontent.com/Taritsyn/JavaScriptEngineSwitcher/master/Icons/JavaScriptEngineSwitcher_ChakraCore_Logo128x128.png</iconUrl>
1212
<repository type="git" url="https://github.com/Taritsyn/JavaScriptEngineSwitcher" />
1313
<requireLicenseAcceptance>false</requireLicenseAcceptance>
14-
<description>This package complements the JavaScriptEngineSwitcher.ChakraCore package and contains the native implementation of ChakraCore version 1.8.3 for Windows (ARM).
15-
16-
This package is only compatible with .NET Core and .NET Framework 4.5.</description>
14+
<description>This package is deprecated. Instead, it is recommended to use a 'JavaScriptEngineSwitcher.ChakraCore.Native.win-arm' package.</description>
1715
<releaseNotes>ChakraCore was updated to version 1.8.3.</releaseNotes>
1816
<copyright>Copyright © 2013-2018 Andrey Taritsyn</copyright>
1917
<language>en-US</language>
2018
<tags>JavaScriptEngineSwitcher JavaScript ECMAScript ChakraCore Windows ARM</tags>
2119
</metadata>
2220
<files>
23-
<file src="../../lib/ChakraCore/runtimes/win8-arm/native/ChakraCore.dll" target="runtimes/win8-arm/native/" />
21+
<file src="../../lib/ChakraCore/runtimes/win-arm/native/ChakraCore.dll" target="runtimes/win8-arm/native/" />
2422
<file src="build/JavaScriptEngineSwitcher.ChakraCore.Native.win8-arm.props" target="build/" />
2523
<file src="tools/Install.ps1" target="tools/" />
2624
<file src="tools/Uninstall.ps1" target="tools/" />

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
=============
2020
RELEASE NOTES
2121
=============
22-
ChakraCore was updated to version 1.8.3.
22+
This package is deprecated. Instead, it is recommended to use a
23+
'JavaScriptEngineSwitcher.ChakraCore.Native.win-arm' package.
2324

2425
=============
2526
DOCUMENTATION

src/JavaScriptEngineSwitcher.ChakraCore/JavaScriptEngineSwitcher.ChakraCore.csproj

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

1818
* JavaScriptEngineSwitcher.ChakraCore.Native.win-x86
1919
* JavaScriptEngineSwitcher.ChakraCore.Native.win-x64
20-
* JavaScriptEngineSwitcher.ChakraCore.Native.win8-arm
20+
* JavaScriptEngineSwitcher.ChakraCore.Native.win-arm
2121
* JavaScriptEngineSwitcher.ChakraCore.Native.linux-x64
2222
* JavaScriptEngineSwitcher.ChakraCore.Native.osx-x64</Description>
2323
<PackageIconUrl>https://raw.githubusercontent.com/Taritsyn/JavaScriptEngineSwitcher/master/Icons/JavaScriptEngineSwitcher_ChakraCore_Logo128x128.png</PackageIconUrl>

0 commit comments

Comments
 (0)