A Slack Bot that pulls Pixiv information and posts the full image(s) into Slack, with iOS shortcuts.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
394 B

9 years ago
  1. require 'rubygems'
  2. require 'bundler'
  3. require 'bundler/gem_tasks'
  4. Bundler.setup :default, :development
  5. unless ENV['RACK_ENV'] == 'production'
  6. require 'rspec/core'
  7. require 'rspec/core/rake_task'
  8. RSpec::Core::RakeTask.new(:spec) do |spec|
  9. spec.pattern = FileList['spec/**/*_spec.rb']
  10. end
  11. require 'rubocop/rake_task'
  12. RuboCop::RakeTask.new
  13. task default: [:rubocop, :spec]
  14. end