Anton Shestakov <av6@dwimlabs.net>, Mon, 13 Jun 2016 09:47:55 +0800
incoming: a script to run checks
At the moment, it just clones source and then cleans up.
incoming.py
Permissions: -rwxr-xr-x
from candolint.models import database, Project, Change, Check rel = lambda *x: os.path.abspath(os.path.join(os.path.dirname(__file__), *x)) database.init(rel('database.sqlite')) database.create_tables([Project, Change, Check], safe=True) if __name__ == '__main__':