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
8a7ea3ec
Commit
8a7ea3ec
authored
Jun 12, 2012
by
Dean Mao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove wscript so that there is only one way (gyp) to compile node-sass
parent
0a5a7073
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
26 deletions
+0
-26
wscript
wscript
+0
-26
No files found.
wscript
deleted
100644 → 0
View file @
0a5a7073
import Options
from os import unlink, symlink, popen
from os.path import exists
srcdir = "."
blddir = "build"
VERSION = "0.0.1"
def set_options(opt):
opt.tool_options("compiler_cxx")
def configure(conf):
conf.check_tool("compiler_cxx")
conf.check_tool("node_addon")
conf.env.libsass_compiled = exists("./libsass/libsass.a")
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.uselib = "sass"
obj.target = "binding"
obj.source = "binding.cpp "
obj.use = ['LIB_SASS']
obj.add_obj_file("./libsass/libsass.a")
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