1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-12-22 04:58:12 +00:00
Go to file
J. Fernando Sánchez 4f88009bd7 Merge branch 'senpy' into 'master'
Senpy

See merge request docs/templates/makefiles!6
2017-10-03 15:25:58 +00:00
base.mk Updated makefiles from senpy 2017-10-03 13:46:09 +02:00
docker.mk Updated makefiles from gsictl 2017-09-29 15:32:51 +02:00
git.mk Trying to fix push to github 2017-10-03 16:39:09 +02:00
k8s.mk Updated makefiles from senpy 2017-10-03 15:08:16 +02:00
makefiles.mk Updated makefiles from gsictl 2017-09-29 15:53:14 +02:00
precommit.mk First version of makefiles 2017-09-27 21:08:21 +02:00
python.mk Updated makefiles from sentiment-meaningCloud 2017-10-02 13:12:17 +02:00
README.md Updated makefiles from gsictl 2017-09-29 15:00:37 +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.cluster.gsi.dit.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.