Skip to content

Commit

Permalink
removed bootstrap and runserver as these were moved to separate cooki…
Browse files Browse the repository at this point in the history
…ecutters
  • Loading branch information
mesemus committed Sep 2, 2022
1 parent d2efe76 commit e212251
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 110 deletions.
2 changes: 0 additions & 2 deletions oarepo_model_builder/invenio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
# utils and included
"imports": "templates/imports.py.jinja2",
# scripts
"script-bootstrap": "templates/script_bootstrap.sh.jinja2",
"script-runserver": "templates/script_runserver.sh.jinja2",
"script-import-sample-data": "templates/script_import_sample_data.py.jinja2",
"script-import-sample-data-shell": "templates/script_import_sample_data.sh.jinja2",
}
22 changes: 0 additions & 22 deletions oarepo_model_builder/invenio/invenio_script_bootstrap.py

This file was deleted.

22 changes: 0 additions & 22 deletions oarepo_model_builder/invenio/invenio_script_runserver.py

This file was deleted.

2 changes: 1 addition & 1 deletion oarepo_model_builder/invenio/invenio_script_sample_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def faker_provider(faker, settings, stack, params):


class InvenioScriptSampleDataShellBuilder(OutputBuilder):
TYPE = "invenio_script_runserver"
TYPE = "invenio_script_sample_data_loader"

def finish(self):
context = {"settings": self.schema.settings}
Expand Down
47 changes: 0 additions & 47 deletions oarepo_model_builder/invenio/templates/script_bootstrap.sh.jinja2

This file was deleted.

13 changes: 0 additions & 13 deletions oarepo_model_builder/invenio/templates/script_runserver.sh.jinja2

This file was deleted.

4 changes: 1 addition & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = oarepo-model-builder
version = 1.0.0.dev17
version = 1.0.0.dev18
description = An utility library that generates OARepo required data model files from a JSON specification file
authors = Miroslav Bauer <[email protected]>, Miroslav Simek <[email protected]>
readme = README.md
Expand Down Expand Up @@ -78,8 +78,6 @@ oarepo_model_builder.builders =
0930-invenio_resource_setup_cfg = oarepo_model_builder.invenio.invenio_record_resource_setup_cfg:InvenioRecordResourceSetupCfgBuilder
0940-invenio_record_search_setup_cfg = oarepo_model_builder.invenio.invenio_record_search_setup_cfg:InvenioRecordSearchSetupCfgBuilder
0950-invenio_record_jsonschemas_setup_cfg = oarepo_model_builder.invenio.invenio_record_jsonschemas_setup_cfg:InvenioRecordJSONSchemasSetupCfgBuilder
1000-invenio_script_bootstrap = oarepo_model_builder.invenio.invenio_script_bootstrap:InvenioScriptBootstrapBuilder
1010-invenio_script_runserver = oarepo_model_builder.invenio.invenio_script_runserver:InvenioScriptRunServerBuilder
1020-invenio_script_import_sample_data = oarepo_model_builder.invenio.invenio_script_import_sample_data:InvenioScriptImportSampleDataBuilder
1030-invenio_script_sample_data = oarepo_model_builder.invenio.invenio_script_sample_data:InvenioScriptSampleDataBuilder
1040-invenio_script_sample_data_shell = oarepo_model_builder.invenio.invenio_script_sample_data:InvenioScriptSampleDataShellBuilder
Expand Down

0 comments on commit e212251

Please sign in to comment.