Commit 2d68ec47 by Marcin Cieślak

Merge branch 'vs2015pdb'

parents 86b84252 f37d9a50
...@@ -15,6 +15,15 @@ ...@@ -15,6 +15,15 @@
build: off build: off
clone_folder: c:\projects\node_modules\node-sass
# http://www.wintellect.com/devcenter/jrobbins/pdb-files-what-every-developer-must-know
# http://help.appveyor.com/discussions/kb/32-how-to-build-on-logical-drive-created-by-subst
init:
- cmd: >-
subst s: c:\projects
- ps: set-location -path s:\node_modules\node-sass
cache: cache:
- '%userprofile%\.node-gyp' - '%userprofile%\.node-gyp'
- '%AppData%\npm-cache' - '%AppData%\npm-cache'
...@@ -41,15 +50,23 @@ ...@@ -41,15 +50,23 @@
test_script: npm test test_script: npm test
before_deploy: before_deploy:
# Save artifact with full qualified names of binding.node # Save artifacts with full qualified names of binding.node and binding.pdb
# (which we use in node-sass-binaries repo) # (which we use in node-sass-binaries repo)
- ps: Get-ChildItem .\vendor\**\*.node | % { Push-AppveyorArtifact $_.FullName -FileName (($_.FullName.Split('\\') | Select-Object -Last 2) -join '_') } - ps: >-
Get-ChildItem .\vendor\**\*.node | % {
( $BindingName = $_.FullName ).Split('\\') |
Select-Object -Last 2 | Select-Object -First 1 } |
.{ process { (
@( $BindingName,
( ( $_, "binding.node" ) -join '_' ) ),
@( ".\build\Release\binding.pdb",
( ( $_, "binding.pdb" ) -join '_' ) )
) } } | % { Push-AppveyorArtifact $_[0] -FileName $_[1] }
deploy: deploy:
- provider: GitHub - provider: GitHub
description: $(APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED) description: $(APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED)
artifact: /.*binding\.node/ # upload all NuGet packages to release assets artifact:
auth_token: auth_token:
secure: tt+p58W9Q49faww/o0CODJI8e++YEX5THVlpXlRIigO4xHjE8NKigi0oxr1b2PJE secure: tt+p58W9Q49faww/o0CODJI8e++YEX5THVlpXlRIigO4xHjE8NKigi0oxr1b2PJE
on: on:
...@@ -68,6 +85,13 @@ ...@@ -68,6 +85,13 @@
build: off build: off
clone_folder: c:\projects\node_modules\node-sass
init:
- cmd: >-
subst s: c:\projects
- ps: set-location -path s:\node_modules\node-sass
cache: cache:
- '%userprofile%\.node-gyp' - '%userprofile%\.node-gyp'
- '%AppData%\npm-cache' - '%AppData%\npm-cache'
...@@ -81,6 +105,7 @@ ...@@ -81,6 +105,7 @@
- nodejs_version: 2 - nodejs_version: 2
- nodejs_version: 3 - nodejs_version: 3
- nodejs_version: 4 - nodejs_version: 4
- nodejs_version: 5
install: install:
- ps: Install-Product node $env:nodejs_version $env:platform - ps: Install-Product node $env:nodejs_version $env:platform
......
...@@ -19,6 +19,19 @@ ...@@ -19,6 +19,19 @@
'src/sass_types/number.cpp', 'src/sass_types/number.cpp',
'src/sass_types/string.cpp' 'src/sass_types/string.cpp'
], ],
'msvs_settings': {
'VCLinkerTool': {
'SetChecksum': 'true'
}
},
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS': [
'-std=c++11'
],
'OTHER_LDFLAGS': [],
'GCC_ENABLE_CPP_EXCEPTIONS': 'NO',
'MACOSX_DEPLOYMENT_TARGET': '10.7'
},
'include_dirs': [ 'include_dirs': [
'<!(node -e "require(\'nan\')")', '<!(node -e "require(\'nan\')")',
], ],
...@@ -54,16 +67,6 @@ ...@@ -54,16 +67,6 @@
], ],
} }
}], }],
['OS=="mac"', {
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS': [
'-std=c++11'
],
'OTHER_LDFLAGS': [],
'GCC_ENABLE_CPP_EXCEPTIONS': 'NO',
'MACOSX_DEPLOYMENT_TARGET': '10.7'
}
}],
['OS=="win" and MSVS_VERSION == "2015"', { ['OS=="win" and MSVS_VERSION == "2015"', {
'msvs_settings': { 'msvs_settings': {
'VCCLCompilerTool': { 'VCCLCompilerTool': {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment