Skip to content

Commit

Permalink
Merge pull request sass#12 from wellington/unity
Browse files Browse the repository at this point in the history
Unity
  • Loading branch information
drewwells committed Jul 31, 2015
2 parents 65de12c + 4b2093d commit 4a1feb3
Show file tree
Hide file tree
Showing 55 changed files with 101 additions and 195 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ install:
Invoke-WebRequest -UserAgent wget -Uri $url -OutFile go1.5beta1.windows-amd64.zip
&7z x -oC:\go15 go1.5beta1.windows-amd64.zip > $null
- go version
- go get ./...
- go get github.com/wellington/spritewell

build_script:
- go build -x -ldflags "-extldflags '-static'" github.com/wellington/go-libsass
- go build -x -ldflags "-extldflags '-static'"
3 changes: 0 additions & 3 deletions libs/ast.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/base64vlq.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/bind.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/color_maps.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/constants.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/context.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/cssize.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/emitter.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/environment.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/error_handling.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/eval.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/expand.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/extend.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/file.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/functions.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/inspect.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/json.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/lexer.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/listize.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/memory_manager.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/node.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/output.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/parser.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/plugins.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/position.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/prelexer.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/remove_placesholders.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/sass.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/sass2scss.cpp

This file was deleted.

10 changes: 0 additions & 10 deletions libs/sass2scss_bind.h

This file was deleted.

3 changes: 0 additions & 3 deletions libs/sass_context.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/sass_functions.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/sass_util.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/sass_values.cpp

This file was deleted.

8 changes: 0 additions & 8 deletions libs/sass_version.h

This file was deleted.

3 changes: 0 additions & 3 deletions libs/source_map.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/to_c.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/to_string.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/to_value.cpp

This file was deleted.

2 changes: 1 addition & 1 deletion libs/toscss.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package libs

// #include <stdlib.h>
// #include "sass2scss_bind.h"
// #include "sass2scss.h"
import "C"
import (
"io"
Expand Down
3 changes: 0 additions & 3 deletions libs/units.cpp

This file was deleted.

43 changes: 43 additions & 0 deletions libs/unity.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#ifndef USE_LIBSASS
#include "../libsass-build/ast.cpp"
#include "../libsass-build/base64vlq.cpp"
#include "../libsass-build/bind.cpp"
#include "../libsass-build/color_maps.cpp"
#include "../libsass-build/constants.cpp"
#include "../libsass-build/context.cpp"
#include "../libsass-build/cssize.cpp"
#include "../libsass-build/emitter.cpp"
#include "../libsass-build/environment.cpp"
#include "../libsass-build/error_handling.cpp"
#include "../libsass-build/eval.cpp"
#include "../libsass-build/expand.cpp"
#include "../libsass-build/extend.cpp"
#include "../libsass-build/file.cpp"
#include "../libsass-build/functions.cpp"
#include "../libsass-build/inspect.cpp"
#include "../libsass-build/json.cpp"
#include "../libsass-build/lexer.cpp"
#include "../libsass-build/listize.cpp"
#include "../libsass-build/node.cpp"
#include "../libsass-build/memory_manager.cpp"
#include "../libsass-build/output.cpp"
#include "../libsass-build/parser.cpp"
#include "../libsass-build/plugins.cpp"
#include "../libsass-build/position.cpp"
#include "../libsass-build/prelexer.cpp"
#include "../libsass-build/remove_placeholders.cpp"
#include "../libsass-build/sass2scss.cpp"
#include "../libsass-build/sass_context.cpp"
#include "../libsass-build/sass_functions.cpp"
#include "../libsass-build/sass_util.cpp"
#include "../libsass-build/sass.cpp"
#include "../libsass-build/sass_values.cpp"
#include "../libsass-build/source_map.cpp"
#include "../libsass-build/to_c.cpp"
#include "../libsass-build/to_string.cpp"
#include "../libsass-build/to_value.cpp"
#include "../libsass-build/units.cpp"
#include "../libsass-build/utf8_string.cpp"
#include "../libsass-build/util.cpp"
#include "../libsass-build/values.cpp"
#endif
3 changes: 0 additions & 3 deletions libs/utf8_string.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/util.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions libs/values.cpp

This file was deleted.

2 changes: 1 addition & 1 deletion libs/wrap_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package libs

// #cgo CFLAGS: -O2 -fPIC
// #cgo CPPFLAGS: -w -I../libsass-build/include
// #cgo CPPFLAGS: -w -I../libsass-build -I../libsass-build/include
// #cgo CXXFLAGS: -g -std=c++0x -pedantic -Wno-c++11-extensions -O2 -fPIC
// #cgo LDFLAGS: -lstdc++ -lm
// #cgo darwin linux LDFLAGS: -ldl
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion libsass-build/include/sass_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define SASS_VERSION_H

#ifndef LIBSASS_VERSION
#define LIBSASS_VERSION "3.2.5-151-g9b4e"
#define LIBSASS_VERSION "3.2.5-155-g295b"
#endif

#endif
Loading

0 comments on commit 4a1feb3

Please sign in to comment.