Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

project: improve scripts #255

Merged
merged 1 commit into from
Jul 7, 2020
Merged

project: improve scripts #255

merged 1 commit into from
Jul 7, 2020

Conversation

sebdeleze
Copy link
Contributor

  • 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

@sebdeleze sebdeleze marked this pull request as ready for review June 25, 2020 05:48
@sebdeleze sebdeleze requested review from blankoworld and removed request for blankoworld June 25, 2020 05:48
@@ -16,40 +16,52 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

source $(dirname "$0")/functions

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 27 you already have $script_path that can be use for this line. Put line 27 before line 19 and $script_path would be your :)

* 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>
@sebdeleze sebdeleze merged commit bb7c7d7 into rero:dev Jul 7, 2020
@sebdeleze sebdeleze deleted the sed-optimize-scripts branch July 7, 2020 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants