Rakefile in auth0-4.17.1 vs Rakefile in auth0-5.0.0
- old
+ new
@@ -7,31 +7,9 @@
require 'rspec/core/rake_task'
desc 'Run Rubocop'
RuboCop::RakeTask.new(:rubocop)
- require 'yard'
- DOC_FILES = ['lib/auth0/api/v2/*.rb', 'lib/auth0/api/authentication_endpoints.rb'].freeze
-
- desc 'Build Documentation'
- YARD::Rake::YardocTask.new(:documentation) do |t|
- t.files = DOC_FILES
- t.options = ['-p', 'doc_config/templates']
- end
-
- desc 'Publish SDK documentation'
- task :publish do
- sh 'rake documentation'
- sh 'cp -R doc /tmp/ruby-auth0-doc'
- sh 'git checkout gh-pages'
- sh 'cp -R /tmp/ruby-auth0-doc/* .'
- sh 'rm -rf /tmp/ruby-auth0-doc'
- sh 'git add .'
- sh 'git commit -am "Rebuild documentation"'
- sh 'git push origin gh-pages'
- sh 'git checkout master'
- end
-
desc 'Run Integration Tests'
RSpec::Core::RakeTask.new(:integration) do |t|
t.pattern = FileList["spec/integration/**/*#{ENV['PATTERN']}*_spec.rb"]
end