Module: Teuton
- Defined in:
- lib/teuton.rb,
lib/teuton/version.rb
Constant Summary collapse
- VERSION =
"2.6.0"- APPNAME =
"teuton"- GEMNAME =
"teuton"- DOCKERNAME =
"dvarrui/#{GEMNAME}"- HOMEPAGE =
"https://github.com/teuton-software/teuton"
Class Method Summary collapse
- .check(projectpath, options = {}) ⇒ Object
- .create(path_to_new_dir) ⇒ Object
- .readme(projectpath, options = {}) ⇒ Object
- .run(projectpath, options = {}) ⇒ Object
Class Method Details
.check(projectpath, options = {}) ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/teuton.rb', line 9 def self.check(projectpath, = {}) Application.instance.add_input_params(projectpath, ) require_dsl_and_script("teuton/check/laboratory") # Define DSL app = Application.instance lab = Laboratory.new(app.script_path, app.config_path) if [:onlyconfig] lab.show_onlyconfig else lab.show end end |
.create(path_to_new_dir) ⇒ Object
4 5 6 7 |
# File 'lib/teuton.rb', line 4 def self.create(path_to_new_dir) require_relative "teuton/skeleton" Skeleton.create(path_to_new_dir) end |
.readme(projectpath, options = {}) ⇒ Object
27 28 29 30 31 32 33 34 35 |
# File 'lib/teuton.rb', line 27 def self.readme(projectpath, = {}) # Create Readme file for a teuton test Application.instance.add_input_params(projectpath, ) require_dsl_and_script("teuton/readme/readme") # Define DSL app = Application.instance readme = Readme.new(app.script_path, app.config_path) readme.show end |
.run(projectpath, options = {}) ⇒ Object
22 23 24 25 |
# File 'lib/teuton.rb', line 22 def self.run(projectpath, = {}) Application.instance.add_input_params(projectpath, ) require_dsl_and_script("teuton/case_manager/dsl") # Define DSL end |