1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-21 15:52:28 +00:00
senpy/.makefiles
J. Fernando Sánchez a0abbede49 Version 1.0.2
Update RDFlib to 6.1.1 (removed rdflib-jsonld, as it is deprecated)
Bumped minimum python version: 3.7 (as a result of RDFLIB 6)
Added ProxyFix to run behind nginx (Added --no-proxy to run without the fix)
Replaced http media links to protocol-agnostic links in playground
Enable CORS (via --enable-cors)
Update old urls (replaced *.cluster.gsi.dit.upm.es with *.gsi.upm.es)
2022-05-20 13:27:31 +02:00
..
base.mk Merge commit '89f3a0eca96bbd877b466212f6ee27794f149458' into fix-makefiles 2017-12-13 15:24:28 +01:00
docker.mk Update makefiles 2018-06-15 11:45:49 +02:00
git.mk Remove makefiles from auto push/pull 2018-11-06 17:12:54 +01:00
k8s.mk Update makefiles 2018-06-15 11:45:49 +02:00
makefiles.mk Version 1.0.2 2022-05-20 13:27:31 +02:00
precommit.mk Add '.makefiles/' from commit '21ff551769dd7e4ebd895b90d918040859a90e41' 2017-10-03 11:28:56 +02:00
python.mk Multiple changes in the API, schemas and UI 2019-04-04 10:00:24 +02:00
README.md Version 1.0.2 2022-05-20 13:27:31 +02:00

These makefiles are recipes for several common tasks in different types of projects. To add them to your project, simply do:

git remote add makefiles ssh://git@lab.gsi.upm.es:2200/docs/templates/makefiles.git
git subtree add --prefix=.makefiles/ makefiles master
touch Makefile
echo "include .makefiles/base.mk" >> Makefile

Now you can take advantage of the recipes. For instance, to add useful targets for a python project, just add this to your Makefile:

include .makefiles/python.mk

You may need to set special variables like the name of your project or the python versions you're targetting. Take a look at each specific .mk file for more information, and the Makefile in the senpy project for a real use case.

If you update the makefiles from your repository, make sure to push the changes for review in upstream (this repository):

make makefiles-push

It will automatically commit all unstaged changes in the .makefiles folder.