appveyor: build action accepts arguments (passed on to make)

This commit is contained in:
Michael Davidsaver
2020-03-29 20:59:08 -07:00
committed by Ralph Lange
parent 2f8f4e7fb1
commit dbfba732fd

View File

@@ -462,7 +462,7 @@ def prepare(args):
def build(args):
setup_for_build()
print('{0}Building the main module{1}'.format(ANSI_YELLOW, ANSI_RESET))
call_make()
call_make(args.makeargs)
def test(args):
setup_for_build()
@@ -537,6 +537,7 @@ def getargs():
CMD.set_defaults(func=prepare)
CMD = SP.add_parser('build')
CMD.add_argument('makeargs', nargs=REMAINDER)
CMD.set_defaults(func=build)
CMD = SP.add_parser('test')