Skip to content

Commit

Permalink
project: improve scripts
Browse files Browse the repository at this point in the history
* Adds utilities for displaying messages in bash scripts.
* Removes `pipenv run` calls in scripts.
* Adds titles and sections in scripts.
* Adds shortcuts to scripts in Pipfile.
* Removes useless `update` script.
* Removes `local` option in setup script.
* Adds `python-dotenv` library.

Co-Authored-by: Sébastien Délèze <sebastien.deleze@rero.ch>
  • Loading branch information
Sébastien Délèze committed Jul 7, 2020
1 parent 0dc23bb commit bb7c7d7
Show file tree
Hide file tree
Showing 10 changed files with 267 additions and 150 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ include scripts/server
include scripts/setup
include scripts/update
include scripts/install-ui
include scripts/functions
include tests/ui/shibboleth_authenticator/data/valid_saml_response

prune docs/_build
Expand Down
6 changes: 6 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ safety = ">=1.8"
# Version 0.6 causes a segmentation fault when loading an image..
wand = ">=0.5.0,<0.6.0"
transifex-client = "*"
python-dotenv = "*"

[dev-packages]
Flask-Debugtoolbar = ">=0.10.1"
Expand All @@ -61,3 +62,8 @@ python_version = "3.6"
[scripts]
test = "python setup.py test"
build_sphinx = "python setup.py build_sphinx"
bootstrap = "./scripts/bootstrap"
console = "./scripts/console"
install-ui = "./scripts/install-ui"
server = "./scripts/server"
setup = "./scripts/setup"
Loading

0 comments on commit bb7c7d7

Please sign in to comment.