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
546e11ee
Commit
546e11ee
authored
Aug 11, 2015
by
Marcin Cieslak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Locate pangyp via module API
parent
81c5446b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
build.js
scripts/build.js
+1
-1
No files found.
scripts/build.js
View file @
546e11ee
...
@@ -128,7 +128,7 @@ function build(options) {
...
@@ -128,7 +128,7 @@ function build(options) {
process
.
exit
(
1
);
process
.
exit
(
1
);
}
}
var
args
=
[
path
.
join
(
'node_modules'
,
'pangyp'
,
'bin'
,
'node-gyp'
),
'rebuild'
].
concat
(
var
args
=
[
require
.
resolve
(
path
.
join
(
'pangyp'
,
'bin'
,
'node-gyp.js'
)
),
'rebuild'
].
concat
(
[
'libsass_ext'
,
'libsass_cflags'
,
'libsass_ldflags'
,
'libsass_library'
].
map
(
function
(
subject
)
{
[
'libsass_ext'
,
'libsass_cflags'
,
'libsass_ldflags'
,
'libsass_library'
].
map
(
function
(
subject
)
{
return
[
'--'
,
subject
,
'='
,
process
.
env
[
subject
.
toUpperCase
()]
||
''
].
join
(
''
);
return
[
'--'
,
subject
,
'='
,
process
.
env
[
subject
.
toUpperCase
()]
||
''
].
join
(
''
);
})).
concat
(
options
.
args
);
})).
concat
(
options
.
args
);
...
...
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