32 lines
No EOL
611 B
Python
32 lines
No EOL
611 B
Python
from pybuilder.core import task, init
|
|
from ddadevops import *
|
|
from devops_test import *
|
|
|
|
|
|
def main():
|
|
init_project()
|
|
|
|
@init
|
|
def initialize(project):
|
|
project.build_depends_on('ddadevops>=3.1.2')
|
|
# build = get_devops_build()
|
|
# build.init()
|
|
init_project()
|
|
|
|
@task
|
|
def release(project):
|
|
# build = get_devops_build(project)
|
|
# build.prepare_release() # mit config file
|
|
prepare_release()
|
|
# build()
|
|
# build.publish()
|
|
# build.release_in_git()
|
|
# release_in_git()
|
|
|
|
|
|
@task
|
|
def build(project):
|
|
build = get_devops_build(project)
|
|
# ToDo: Implement for project
|
|
|
|
main() |