Commit 74f9fb0a authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Rake tasks for building/installing gem.

And .gitignore to ignore .gem files.
parent af0cbb0d
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+1 −0
Original line number Diff line number Diff line
*.gem
+10 −0
Original line number Diff line number Diff line
@@ -10,4 +10,14 @@ Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.spec_files = FileList["spec/**/*_spec.rb"]
end

desc "Build gem locally"
task :build do
  system "gem build jsduck.gemspec"
end

desc "Install gem locally"
task :install => :build do
  system "gem install --user-install jsduck"
end

task :default => :spec