Browse Source

Better building within sublime

dev
Andy Meneely 11 years ago
parent
commit
bcf78cdbf7
  1. 1
      .gitignore
  2. 1
      Rakefile
  3. 17
      squib.sublime-project

1
.gitignore vendored

@ -32,3 +32,4 @@ benchmarks/_output/*.png
benchmarks/_output/*.pdf
benchmarks/_output/
samples/_output/*.svg
*.sublime-workspace

1
Rakefile

@ -11,6 +11,7 @@ task default: [:install, :spec]
task :run,[:file] => :install do |t, args|
args.with_defaults(file: 'basic.rb')
Dir.chdir('samples') do
args[:file] << ".rb" unless args[:file].end_with? '.rb'
puts "Running samples/#{args[:file]}"
load args[:file]
end

17
squib.sublime-project vendored

@ -0,0 +1,17 @@
{
"folders":
[
{
"follow_symlinks": true,
"path": "."
}
],
"build_systems":
[
{
"shell_cmd": "rake run[text_options]",
"name": "rake run[text_options]",
}
],
}
Loading…
Cancel
Save