Skip to content

Commit

Permalink
Last checkin before flight… getting the bundle file to build...
Browse files Browse the repository at this point in the history
  • Loading branch information
Hampton Catlin committed Apr 21, 2012
1 parent c8ef9e8 commit c26e95e
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ build/*
*.a
a.out
bin/*
*.gem
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source 'https://rubygems.org'

# Specify your gem's dependencies in sassc.gemspec
gemspec 'sassc'
gemspec
20 changes: 20 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
PATH
remote: .
specs:
sassc (0.0.1)
ffi
rake-compiler

GEM
remote: https://rubygems.org/
specs:
ffi (1.0.11)
rake (0.9.2.2)
rake-compiler (0.8.1)
rake

PLATFORMS
ruby

DEPENDENCIES
sassc!
17 changes: 16 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"
#require "bundler/gem_tasks"
#Bundler.setup
load 'sassc.gemspec'
require 'rake/extensiontask'

Rake::ExtensionTask.new do |ext|
ext.name = 'libsass' # indicate the name of the extension.
ext.ext_dir = 'src/' # search for 'hello_world' inside it.
ext.lib_dir = 'lib/sassc' # put binaries into this folder.
#ext.config_script = 'custom_extconf.rb' # use instead of the default 'extconf.rb'.
#ext.tmp_dir = 'tmp' # temporary folder used during compilation.
ext.source_pattern = "*.{c,cpp,hpp}" # monitor file changes to allow simple rebuild.
#ext.config_options << '--with-foo' # supply additional options to configure script.
ext.gem_spec = $gemspec # optionally indicate which gem specification
# will be used.
end
Binary file added pkg/sassc-0.0.1.gem
Binary file not shown.
1 change: 1 addition & 0 deletions src/context.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#define SASS_CONTEXT_INCLUDED


#include <utility>
#include <map>
#include "functions.hpp"
Expand Down
Binary file removed src/libsass.bundle
Binary file not shown.

0 comments on commit c26e95e

Please sign in to comment.