aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2020-08-05Switch to isort 5 (#669)Glandos1-1/+1
2020-07-26Use venv module rather than virtualenvJocelyn Delalande1-1/+1
- simpler to use - lighter dependency (or no dependency at all, depending on python distribution) - retrocompatible virtualenv package from pip to acheive virtual environment feature is no longer needed, except for projects which need to support py2, which is no longer our case. Also, reword "virtualenv" to "virtual environment" in doc, to avoid confusion with pip package name. Ref #483
2020-04-21Add isort support. (#561)Rémy HUBSCHER1-2/+10
2020-04-21Fix makefileRémy HUBSCHER1-3/+3
2020-04-21Update known working set. (#558)Rémy HUBSCHER1-13/+6
* Update known working set. * Pin dependencies in setup.cfg. * Cleanup Makefile. * Try the python_version trick.
2019-09-03rename target to match other targets naming schemeAdrien CLERC1-2/+2
2019-09-03add compress_assets target to compress PNG.Adrien CLERC1-0/+10
It depends on zopflipng, find and xargs. Only zopflipng is tested, since it is the less common.
2018-12-07Document database migrations0livd1-0/+5
Closes #390
2018-09-03doc: Improve Makefile (#387)Marien Fressinaud1-12/+31
* Add help target to the Makefile It is often expected to have a `help` target in a Makefile. This one is automatically generated from comments in the Makefile so it is easier to maintain. This commit only documents targets that seem the most important. * Add the server address and port on `make serve` Developers should not have to read the documentation to find where to point their browsers to access ihatemoney application. * Add .PHONY instructions to the Makefile `.PHONY` instructs Make to not look, for instance, for an `install` file before executing the corresponding target. If such a file would exist, the command would not be performed at all. This is because Make is initially intended to create files (i.e. targets) and consider there is nothing to do if the file already exists. More information on https://stackoverflow.com/a/2145605.
2018-08-05Enhance translation tooling (#360)JocelynDelalande1-0/+4
* Add a `make update-translations` command To collect new strings to be translated from code. Totally cheated on @Glandos commands :-) Ref #336 Ref https://github.com/spiral-project/ihatemoney/issues/336#issue-322069517 * Document translation process Fix #336 * Drop noisy location comments from .po files Fix #339 * Drop .pot header As it serves no purpose with our translation workflow. .po header could be removed also, but pybabel has no option for that. Ref #339
2017-11-02Add a database revision makefile recipe (#281)0livd1-0/+4
2017-07-07Absolute imports & some other improvements (#243)Alexis Metaireau1-2/+2
* Use absolute imports and rename package to ihatemoney * Add a ihatemoney command * Factorize application creation logic * Refactor the tests * Update the wsgi.py module with the new create_app() function * Fix some styling thanks to Flake8. * Automate Flake8 check in the CI.
2017-06-28Make all imports relative (#229)Alexis Metaireau1-1/+1
* Make all imports relative * Change the way the application runs in the Makefile * Import the default settings relatively * Fix manage.py imports
2017-06-21Re-organize the documentation (#223)Alexis Metaireau1-0/+5
* Re-organize the documentation * Fix encoding errors for python 2 * Document the dependencies. Fixes #199 * Add a make update command. Fixes #211
2017-05-06Makefile: Add new rule to compile translations (#207)0livd1-0/+3
2017-04-15Fix makefile: Python lookup and virtualenv setup (#201)Toover1-4/+7
* Fix Python lookup in the Makefile * Improve the Makefile To make sure calling for "make serve" works straight away, the dependencies are automatically prepared. A "make clean" has been added, to test this feature.
2017-03-28Add tox support.Alexis Métaireau1-1/+1
2017-03-28Create a Makefile to ease developmentAlexis Métaireau1-0/+39