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
d73c89dd
Commit
d73c89dd
authored
May 31, 2012
by
Andrew Nesbitt
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5 from mauritslamers/master
fix for to autobuild libsass if not built
parents
ba801d9e
7f763f39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
wscript
wscript
+4
-1
No files found.
wscript
View file @
d73c89dd
...
@@ -12,9 +12,12 @@ def set_options(opt):
...
@@ -12,9 +12,12 @@ def set_options(opt):
def configure(conf):
def configure(conf):
conf.check_tool("compiler_cxx")
conf.check_tool("compiler_cxx")
conf.check_tool("node_addon")
conf.check_tool("node_addon")
conf.
check(staticlib='sass', uselib_store='LIB_SASS', cpppath='./libsass/'
)
conf.
env.libsass_compiled = exists("./libsass/libsass.a"
)
def build(bld):
def build(bld):
if bld.env.libsass_compiled == False:
bld.exec_command("cd ../libsass;make")
obj = bld.new_task_gen("cxx", "shlib", "node_addon")
obj = bld.new_task_gen("cxx", "shlib", "node_addon")
obj.uselib = "sass"
obj.uselib = "sass"
obj.target = "binding"
obj.target = "binding"
...
...
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