Skip to content

Commit ed7d788

Browse files
committed
1. Native assemblies from the JavaScriptEngineSwitcher.V8 package have been moved to separate packages: JavaScriptEngineSwitcher.V8.Native.win-x86 and JavaScriptEngineSwitcher.V8.Native.win-x64;
2. Native assemblies from the JavaScriptEngineSwitcher.ChakraCore package have been moved to separate packages: JavaScriptEngineSwitcher.ChakraCore.Native.win-x86 and JavaScriptEngineSwitcher.ChakraCore.Native.win-x64.
1 parent 34936f9 commit ed7d788

File tree

51 files changed

+494
-164
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+494
-164
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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-x64</id>
5+
<version>2.0.3</version>
6+
<title>JS Engine Switcher: ChakraCore for Windows x64</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.3 for Windows (64-bit).
14+
15+
For correct working of the ChakraCore require assemblies `msvcp120.dll` and `msvcr120.dll` from the Visual C++ Redistributable Packages for Visual Studio 2013.</description>
16+
<summary>This package complements the JavaScriptEngineSwitcher.ChakraCore package and contains the native implementation of ChakraCore version 1.3 for Windows (64-bit).</summary>
17+
<copyright>Copyright (c) 2013-2016 Andrey Taritsyn - http://www.taritsyn.ru</copyright>
18+
<language>en-US</language>
19+
<tags>JavaScriptEngineSwitcher JavaScript ECMAScript ChakraCore Windows x64</tags>
20+
</metadata>
21+
<files>
22+
<file src="**\*.*" exclude="build-package.cmd" />
23+
</files>
24+
</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-x64
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%\win-x64\ChakraCore.dll" runtimes\win-x64\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>
4+
<None Include="$(MSBuildThisFileDirectory)..\runtimes\win-x64\native\ChakraCore.dll">
5+
<Link>x64\ChakraCore.dll</Link>
6+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
7+
<Visible>False</Visible>
8+
</None>
9+
</ItemGroup>
10+
</Project>
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+

2+
3+
--------------------------------------------------------------------------------
4+
README file for JS Engine Switcher: ChakraCore for Windows x64 v2.0.3
5+
6+
--------------------------------------------------------------------------------
7+
8+
Copyright (c) 2013-2016 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.3 for Windows (64-bit).
16+
17+
For correct working of the ChakraCore require assemblies `msvcp120.dll` and
18+
`msvcr120.dll` from the Visual C++ Redistributable Packages for Visual Studio
19+
2013.
20+
21+
====================
22+
POST-INSTALL ACTIONS
23+
====================
24+
If in your system does not assemblies `msvcp120.dll` and `msvcr120.dll`, then
25+
download and install the Visual C++ Redistributable Packages for Visual Studio
26+
2013 (http://www.microsoft.com/en-us/download/details.aspx?id=40784).
27+
28+
=============
29+
DOCUMENTATION
30+
=============
31+
See documentation on GitHub -
32+
http://github.com/Taritsyn/JavaScriptEngineSwitcher

NuGet/JavaScriptEngineSwitcher.ChakraCore/tools/Install.ps1 renamed to NuGet/JavaScriptEngineSwitcher.ChakraCore.Native.win-x64/tools/Install.ps1

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,11 @@ if ($project.Type -eq "Web Site") {
66
$binDirectoryPath = Join-Path $projectDirectoryPath "bin"
77
$assemblyFileName = "ChakraCore.dll"
88

9-
$assembly32DestDirectoryPath = Join-Path $binDirectoryPath "x86"
10-
if (!(Test-Path $assembly32DestDirectoryPath)) {
11-
New-Item -ItemType Directory -Force -Path $assembly32DestDirectoryPath
12-
}
13-
14-
$assembly32SourceFilePath = Join-Path $runtimesDirectoryPath ("win7-x86/native/" + $assemblyFileName)
15-
Copy-Item $assembly32SourceFilePath $assembly32DestDirectoryPath -Force
16-
179
$assembly64DestDirectoryPath = Join-Path $binDirectoryPath "x64"
1810
if (!(Test-Path $assembly64DestDirectoryPath)) {
1911
New-Item -ItemType Directory -Force -Path $assembly64DestDirectoryPath
2012
}
2113

22-
$assembly64SourceFilePath = Join-Path $runtimesDirectoryPath ("win7-x64/native/" + $assemblyFileName)
14+
$assembly64SourceFilePath = Join-Path $runtimesDirectoryPath ("win-x64/native/" + $assemblyFileName)
2315
Copy-Item $assembly64SourceFilePath $assembly64DestDirectoryPath -Force
2416
}

NuGet/JavaScriptEngineSwitcher.ChakraCore/tools/Uninstall.ps1 renamed to NuGet/JavaScriptEngineSwitcher.ChakraCore.Native.win-x64/tools/Uninstall.ps1

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@ if ($project.Type -eq "Web Site") {
55
$binDirectoryPath = Join-Path $projectDirectoryPath "bin"
66
$assemblyFileName = "ChakraCore.dll"
77

8-
$assembly32DirectoryPath = Join-Path $binDirectoryPath "x86"
9-
$assembly32FilePath = Join-Path $assembly32DirectoryPath $assemblyFileName
10-
11-
if (Test-Path $assembly32FilePath) {
12-
Remove-Item $assembly32FilePath -Force
13-
}
14-
158
$assembly64DirectoryPath = Join-Path $binDirectoryPath "x64"
169
$assembly64FilePath = Join-Path $assembly64DirectoryPath $assemblyFileName
1710

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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-x86</id>
5+
<version>2.0.3</version>
6+
<title>JS Engine Switcher: ChakraCore for Windows x86</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.3 for Windows (32-bit).
14+
15+
For correct working of the ChakraCore require assemblies `msvcp120.dll` and `msvcr120.dll` from the Visual C++ Redistributable Packages for Visual Studio 2013.</description>
16+
<summary>This package complements the JavaScriptEngineSwitcher.ChakraCore package and contains the native implementation of ChakraCore version 1.3 for Windows (32-bit).</summary>
17+
<copyright>Copyright (c) 2013-2016 Andrey Taritsyn - http://www.taritsyn.ru</copyright>
18+
<language>en-US</language>
19+
<tags>JavaScriptEngineSwitcher JavaScript ECMAScript ChakraCore Windows x86</tags>
20+
</metadata>
21+
<files>
22+
<file src="**\*.*" exclude="build-package.cmd" />
23+
</files>
24+
</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-x86
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%\win-x86\ChakraCore.dll" runtimes\win-x86\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>
4+
<None Include="$(MSBuildThisFileDirectory)..\runtimes\win-x86\native\ChakraCore.dll">
5+
<Link>x86\ChakraCore.dll</Link>
6+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
7+
<Visible>False</Visible>
8+
</None>
9+
</ItemGroup>
10+
</Project>
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+

2+
3+
--------------------------------------------------------------------------------
4+
README file for JS Engine Switcher: ChakraCore for Windows x86 v2.0.3
5+
6+
--------------------------------------------------------------------------------
7+
8+
Copyright (c) 2013-2016 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.3 for Windows (32-bit).
16+
17+
For correct working of the ChakraCore require assemblies `msvcp120.dll` and
18+
`msvcr120.dll` from the Visual C++ Redistributable Packages for Visual Studio
19+
2013.
20+
21+
====================
22+
POST-INSTALL ACTIONS
23+
====================
24+
If in your system does not assemblies `msvcp120.dll` and `msvcr120.dll`, then
25+
download and install the Visual C++ Redistributable Packages for Visual Studio
26+
2013 (http://www.microsoft.com/en-us/download/details.aspx?id=40784).
27+
28+
=============
29+
DOCUMENTATION
30+
=============
31+
See documentation on GitHub -
32+
http://github.com/Taritsyn/JavaScriptEngineSwitcher

0 commit comments

Comments
 (0)