flask-gogs-maker/settings.default.py

25 lines
646 B
Python

''' GogsMaker settings '''
# List of the repositories to work on
HOOKS = [
{
# Name of the repository. This is purely local, and determines the name
# of the directory in which the compilation will happen.
'name': 'foo',
# URL of the repository, as reported by Gogs in its payload.
'url': 'https://git.tobast.fr/tobast/flask-gogs-maker',
# Make targets to be invoked
'targets': ['all'],
},
{
'name': 'test-repo',
'url': 'tests/simple-repo',
'targets': ['date', 'touch'],
},
]
# Directory in which the repositories are cloned
CLONE_ROOT = 'repos'