Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sass
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-sass
Commits
2d68ec47
Commit
2d68ec47
authored
Jan 21, 2016
by
Marcin Cieślak
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'vs2015pdb'
parents
86b84252
f37d9a50
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
14 deletions
+42
-14
appveyor.yml
appveyor.yml
+29
-4
binding.gyp
binding.gyp
+13
-10
No files found.
appveyor.yml
View file @
2d68ec47
...
...
@@ -15,6 +15,15 @@
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
:
-
'
%userprofile%\.node-gyp'
-
'
%AppData%\npm-cache'
...
...
@@ -41,15 +50,23 @@
test_script
:
npm test
before_deploy
:
# Save artifact
with full qualified names of binding.node
# Save artifact
s with full qualified names of binding.node and binding.pdb
# (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
:
-
provider
:
GitHub
description
:
$(APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED)
artifact
:
/.*binding\.node/
# upload all NuGet packages to release assets
artifact
:
auth_token
:
secure
:
tt+p58W9Q49faww/o0CODJI8e++YEX5THVlpXlRIigO4xHjE8NKigi0oxr1b2PJE
on
:
...
...
@@ -68,6 +85,13 @@
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
:
-
'
%userprofile%\.node-gyp'
-
'
%AppData%\npm-cache'
...
...
@@ -81,6 +105,7 @@
-
nodejs_version
:
2
-
nodejs_version
:
3
-
nodejs_version
:
4
-
nodejs_version
:
5
install
:
-
ps
:
Install-Product node $env:nodejs_version $env:platform
...
...
binding.gyp
View file @
2d68ec47
...
...
@@ -19,6 +19,19 @@
'src/sass_types/number.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': [
'<!(node -e "require(\'nan\')")',
],
...
...
@@ -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"', {
'msvs_settings': {
'VCCLCompilerTool': {
...
...
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