You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
J. Fernando Sánchez a21ce0d90e Squashed '.makefiles/' changes from a75ba69..6c47840
6c47840 Updated makefiles from senpy
625549c Do not push image tag for latest
b3318c0 Updated makefiles from senpy
8453e8b Fix problems with echo and newlines
083c8c9 Updated makefiles from senpy-plugins-community

git-subtree-dir: .makefiles
git-subtree-split: 6c47840f216bb641886da57e1e98ccf5df0285d7
6 years ago
README.md Updated makefiles from gsictl 7 years ago
base.mk Squashed '.makefiles/' changes from b20982c..a75ba69 7 years ago
docker.mk Squashed '.makefiles/' changes from a75ba69..6c47840 6 years ago
git.mk Squashed '.makefiles/' changes from a75ba69..6c47840 6 years ago
k8s.mk Squashed '.makefiles/' changes from a75ba69..6c47840 6 years ago
makefiles.mk Updated makefiles from gsictl 7 years ago
precommit.mk First version of makefiles 7 years ago
python.mk Squashed '.makefiles/' changes from a75ba69..6c47840 6 years ago

README.md

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.