@@ -38,8 +38,6 @@ IF %ERRORLEVEL% NEQ 0 GOTO ERROR
3838powershell Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
3939IF %ERRORLEVEL% NEQ 0 GOTO ERROR
4040
41- :SKIP_APPVEYOR_INSTALL
42-
4341ECHO available node.exe^ :
4442call where node
4543ECHO available npm^ :
@@ -123,14 +121,6 @@ ECHO calling npm test
123121CALL npm test
124122IF %ERRORLEVEL% NEQ 0 GOTO ERROR
125123
126- ECHO calling electron-rebuild
127- CALL .\node_modules\.bin\electron-rebuild --force
128- IF %ERRORLEVEL% NEQ 0 GOTO ERROR
129-
130- ECHO calling electron-mocha
131- CALL .\node_modules\.bin\electron-mocha --timeout 480000
132- IF %ERRORLEVEL% NEQ 0 GOTO ERROR
133-
134124:NPM_TEST_FINISHED
135125ECHO packaging for node-gyp
136126CALL node_modules\.bin\node-pre-gyp package %TOOLSET_ARGS%
@@ -139,28 +129,6 @@ SET CM=%APPVEYOR_REPO_COMMIT_MESSAGE%
139129IF NOT " %CM% " == " %CM:[publish binary] =% " (ECHO publishing && CALL node_modules\.bin\node-pre-gyp --msvs_version=%msvs_version% publish %TOOLSET_ARGS% ) ELSE (ECHO not publishing)
140130IF %ERRORLEVEL% NEQ 0 GOTO ERROR
141131
142- :: Do the same for electron
143- CALL node_modules\.bin\node-pre-gyp rebuild package %TOOLSET_ARGS% --runtime=electron --target=1.7.11 --disturl=https://atom.io/download/electron
144- SET CM = %APPVEYOR_REPO_COMMIT_MESSAGE%
145- IF NOT " %CM% " == " %CM:[publish binary] =% " (ECHO publishing && CALL node_modules\.bin\node-pre-gyp --msvs_version=%msvs_version% publish %TOOLSET_ARGS% --runtime=electron --target=1.7.11 --disturl=https://atom.io/download/electron) ELSE (ECHO not publishing)
146- IF %ERRORLEVEL% NEQ 0 GOTO ERROR
147-
148-
149- CALL node_modules\.bin\node-pre-gyp rebuild package %TOOLSET_ARGS% --runtime=electron --target=1.8.6 --disturl=https://atom.io/download/electron
150- SET CM = %APPVEYOR_REPO_COMMIT_MESSAGE%
151- IF NOT " %CM% " == " %CM:[publish binary] =% " (ECHO publishing && CALL node_modules\.bin\node-pre-gyp --msvs_version=%msvs_version% publish %TOOLSET_ARGS% --runtime=electron --target=1.8.6 --disturl=https://atom.io/download/electron) ELSE (ECHO not publishing)
152- IF %ERRORLEVEL% NEQ 0 GOTO ERROR
153-
154- CALL node_modules\.bin\node-pre-gyp rebuild package %TOOLSET_ARGS% --runtime=electron --target=2.0.4 --disturl=https://atom.io/download/electron
155- SET CM = %APPVEYOR_REPO_COMMIT_MESSAGE%
156- IF NOT " %CM% " == " %CM:[publish binary] =% " (ECHO publishing && CALL node_modules\.bin\node-pre-gyp --msvs_version=%msvs_version% publish %TOOLSET_ARGS% --runtime=electron --target=2.0.4 --disturl=https://atom.io/download/electron) ELSE (ECHO not publishing)
157- IF %ERRORLEVEL% NEQ 0 GOTO ERROR
158-
159- CALL node_modules\.bin\node-pre-gyp rebuild package %TOOLSET_ARGS% --runtime=electron --target=5.0.6 --disturl=https://atom.io/download/electron
160- SET CM = %APPVEYOR_REPO_COMMIT_MESSAGE%
161- IF NOT " %CM% " == " %CM:[publish binary] =% " (ECHO publishing && CALL node_modules\.bin\node-pre-gyp --msvs_version=%msvs_version% publish %TOOLSET_ARGS% --runtime=electron --target=5.0.6 --disturl=https://atom.io/download/electron) ELSE (ECHO not publishing)
162- IF %ERRORLEVEL% NEQ 0 GOTO ERROR
163-
164132GOTO DONE
165133
166134
@@ -173,4 +141,4 @@ SET EL=%ERRORLEVEL%
173141:DONE
174142ECHO ~~~~~~~~~~~~~~~~~~~~~~ DONE %~f0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
175143
176- EXIT /b %EL%
144+ EXIT /b %EL%
0 commit comments