Module: GeolexicaServer
- Defined in:
- lib/geolexica_server/version.rb,
lib/geolexica_server.rb,
lib/geolexica_server/generator.rb,
lib/geolexica_server/generator/base.rb,
lib/geolexica_server/generator/metadata.rb,
lib/geolexica_server/generator/bibliography.rb
Overview
© Copyright 2020 Ribose Inc.
Defined Under Namespace
Modules: Generator
Constant Summary collapse
- DEFAULT_CONFIG_FILE_PATH =
"./_config.yaml"
- VERSION =
"0.0.1".freeze
Class Method Summary collapse
-
.load_tasks ⇒ Object
Loads Rake tasks which are provided in this gem.
Class Method Details
.load_tasks ⇒ Object
Loads Rake tasks which are provided in this gem.
In order to load these tasks, following lines should be added to given site’s Rakefile:
require "geolexica_server"
GeolexicaServer.load_tasks
17 18 19 20 |
# File 'lib/geolexica_server.rb', line 17 def self.load_tasks tasks_path = File.("../tasks", __dir__) Rake.add_rakelib(tasks_path) end |