Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sqlite3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
node-sqlite3
Commits
c9eeb9bb
Commit
c9eeb9bb
authored
Jun 23, 2018
by
Dane Springmeyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
attempt to fixup windows builds
parent
c76d8d89
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
34 deletions
+4
-34
appveyor.yml
appveyor.yml
+2
-0
build-appveyor.bat
scripts/build-appveyor.bat
+2
-34
No files found.
appveyor.yml
View file @
c9eeb9bb
...
@@ -2,8 +2,10 @@ environment:
...
@@ -2,8 +2,10 @@ environment:
matrix
:
matrix
:
-
nodejs_version
:
4
-
nodejs_version
:
4
platform
:
x64
platform
:
x64
msvs_toolset
:
12
-
nodejs_version
:
4
-
nodejs_version
:
4
platform
:
x86
platform
:
x86
msvs_toolset
:
12
-
nodejs_version
:
5
-
nodejs_version
:
5
platform
:
x64
platform
:
x64
-
nodejs_version
:
5
-
nodejs_version
:
5
...
...
scripts/build-appveyor.bat
View file @
c9eeb9bb
...
@@ -9,8 +9,8 @@ SET NODE_MAJOR=%nodejs_version:~0,1%
...
@@ -9,8 +9,8 @@ SET NODE_MAJOR=%nodejs_version:~0,1%
IF %NODE_MAJOR% GTR 4 ECHO detected node v5, forcing msvs_toolset 14 && SET msvs_toolset=14
IF %NODE_MAJOR% GTR 4 ECHO detected node v5, forcing msvs_toolset 14 && SET msvs_toolset=14
SET PATH=%CD%;%PATH%
SET PATH=%CD%;%PATH%
SET msvs_version=201
3
SET msvs_version=201
5
IF "%msvs_toolset%"=="1
4" SET msvs_version=2015
IF "%msvs_toolset%"=="1
2" SET msvs_version=2013
ECHO APPVEYOR^: %APPVEYOR%
ECHO APPVEYOR^: %APPVEYOR%
...
@@ -53,38 +53,6 @@ IF %NODE_MAJOR% GTR 0 ECHO node version greater than zero, not updating npm && G
...
@@ -53,38 +53,6 @@ IF %NODE_MAJOR% GTR 0 ECHO node version greater than zero, not updating npm && G
powershell Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
powershell Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
:SKIP_APPVEYOR_INSTALL
IF /I "%msvs_toolset%"=="12" GOTO NODE_INSTALLED
IF %NODE_MAJOR% GTR 4 GOTO NODE_INSTALLED
::custom node for VS2015
SET ARCHPATH=
IF "%platform%"=="X64" (SET ARCHPATH=x64/)
IF "%platform%"=="x64" (SET ARCHPATH=x64/)
SET NODE_URL=https://mapbox.s3.amazonaws.com/node-cpp11/v%nodejs_version%/%ARCHPATH%node.exe
ECHO downloading node^: %NODE_URL%
powershell Invoke-WebRequest "${env:NODE_URL}" -OutFile node.exe
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
ECHO deleting node ...
SET NODE_EXE_PRG=%ProgramFiles%\nodejs\node.exe
IF EXIST "%NODE_EXE_PRG%" ECHO found %NODE_EXE_PRG%, deleting... && DEL /F "%NODE_EXE_PRG%"
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
IF EXIST "%ProgramFiles%\nodejs" ECHO copy custom node.exe to %ProgramFiles%\nodejs\ && COPY node.exe "%ProgramFiles%\nodejs\"
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
SET NODE_EXE_PRG=%ProgramFiles(x86)%\nodejs\node.exe
IF EXIST "%NODE_EXE_PRG%" ECHO found %NODE_EXE_PRG%, deleting... && DEL /F "%NODE_EXE_PRG%"
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
IF EXIST "%ProgramFiles(x86)%\nodejs" ECHO copy custom node.exe to %ProgramFiles(x86)%\nodejs\ && COPY node.exe "%ProgramFiles(x86)%\nodejs\"
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
ECHO delete node.exe in current directory && DEL node.exe
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
:NODE_INSTALLED
ECHO available node.exe^:
ECHO available node.exe^:
call where node
call where node
ECHO available npm^:
ECHO available npm^:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment