Permalink
Browse files

Life is short.

  • Loading branch information...
1 parent e40f587 commit f9ea1e2984cb72625d9a480f58043b32375fd081 @flipback flipback committed Aug 14, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −1 Guardfile
  2. +1 −0 Rakefile
View
2 Guardfile
@@ -1,6 +1,6 @@
guard 'rspec' do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { "spec" }
- watch(%r{^ext/nmatrix/(.+)\.(c|h|rb)$}) { `rake compile | rake spec` }
+ watch(%r{^ext/nmatrix/(.+)\.(c|cpp|h|rb)$}) { `rake compile | rake spec` }
watch('spec/spec_helper.rb') { "spec" }
end
View
1 Rakefile
@@ -16,6 +16,7 @@ Rake::ExtensionTask.new do |ext|
ext.name = 'nmatrix'
ext.ext_dir = 'ext/nmatrix'
ext.lib_dir = 'lib/'
+ ext.source_pattern = "*.{c,cpp, h}"
end
require 'rspec/core/rake_task'

0 comments on commit f9ea1e2

Please sign in to comment.