Commit 60ee17bc by Aaron Leung

Updating things so I can run the tests again.

parent 20dbe3a8
...@@ -15,10 +15,10 @@ libsass: sass_interface.o context.o functions.o document.o document_parser.o eva ...@@ -15,10 +15,10 @@ libsass: sass_interface.o context.o functions.o document.o document_parser.o eva
libsass_objs: sass_interface.cpp context.cpp functions.cpp document.cpp document_parser.cpp eval_apply.cpp node.cpp node_comparisons.cpp values.cpp prelexer.cpp libsass_objs: sass_interface.cpp context.cpp functions.cpp document.cpp document_parser.cpp eval_apply.cpp node.cpp node_comparisons.cpp values.cpp prelexer.cpp
g++ -c sass_interface.cpp context.cpp functions.cpp document.cpp document_parser.cpp eval_apply.cpp node.cpp node_comparisons.cpp values.cpp prelexer.cpp g++ -c sass_interface.cpp context.cpp functions.cpp document.cpp document_parser.cpp eval_apply.cpp node.cpp node_comparisons.cpp values.cpp prelexer.cpp
test: build test: sassc
ruby spec.rb spec/basic/ ruby spec.rb spec/basic/
test_all: build test_all: sassc
ruby spec.rb spec/ ruby spec.rb spec/
clean: clean:
......
...@@ -21,10 +21,7 @@ ...@@ -21,10 +21,7 @@
#include "sass_interface.h" #include "sass_interface.h"
int main(int argc, char** argv) int main(int argc, char** argv)
{ {
// blah, nothing yet
printf("Hey, does this work?\n");
if (argc < 2) { if (argc < 2) {
printf("Hey, I need an input file!\n"); printf("Hey, I need an input file!\n");
return 0; return 0;
...@@ -37,9 +34,7 @@ int main(int argc, char** argv) ...@@ -37,9 +34,7 @@ int main(int argc, char** argv)
ctx->output_style = 0; ctx->output_style = 0;
ctx->input_file = argv[1]; ctx->input_file = argv[1];
ctx->input_string = NULL; ctx->input_string = NULL;
printf("Still working?\n");
char* output = sass_compile(ctx); char* output = sass_compile(ctx);
printf("%s", output); printf("%s", output);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment