Rakefile in jekyll-diagrams-0.9.0 vs Rakefile in jekyll-diagrams-0.9.1
- old
+ new
@@ -5,24 +5,6 @@
t.libs << 'test'
t.libs << 'lib'
t.test_files = FileList['test/**/*_test.rb']
end
-task default: :test
-
-namespace :dummy_site do
- DUMMY_SITE_PATH = File.expand_path('test/dummy_site', __dir__)
- DIAGRAMS = %w(apt cabal cargo java npm pip)
-
- %w(build serve).each do |action|
- desc "#{action.capitalize} the dummy site"
- task action.to_sym, :diagram do |t, args|
- args.with_defaults(diagram: '')
- diagram = args[:diagram]
- path = File.join(DUMMY_SITE_PATH, diagram)
-
- Dir.chdir(DUMMY_SITE_PATH) do
- %x(bundle install && bundle exec jekyll #{action} --config _config.yml -s #{path})
- end
- end
- end
-end
+task default: :test
\ No newline at end of file