Ejemplo n.º 1
0
def main():

    buildParams = unitybuild.BuildParams()

    buildParams.projectPath = os.path.abspath("../Bombers")
    buildParams.projectName = "Bombers"
    buildParams.baseVersion = "1.0.0"

    # a few handy debugging features
    buildParams.skipClean = False
    buildParams.skipBuild = False
    buildParams.skipPackage = False

    # run the build
    buildParams.validate()

    shutil.rmtree(buildParams.artifactsPath, True)
    os.mkdir(buildParams.artifactsPath)

    unitybuild.stampVersionFile("../Bombers/Assets/Resources/Version.txt",
                                buildParams._version)

    unity.buildFromEditorScript(
        buildParams.projectPath, buildParams.args.buildEditorScript,
        "/Applications/Unity5.0.1/Unity.app/Contents/MacOS/Unity")

    return
def main():
	
	buildParams = unitybuild.BuildParams()

	buildParams.projectPath = os.path.abspath("../SpaceShooterWithStats")
	buildParams.projectName = "SpaceShooterWithStats"
	
	# a few handy debugging features
	buildParams.skipClean = False
	buildParams.skipBuild = False
	buildParams.skipPackage = False
	
	# run the build
	buildParams.validate()

	shutil.rmtree(buildParams.artifactsPath, True)
	os.mkdir(buildParams.artifactsPath)

	unity.buildFromEditorScript(buildParams.projectPath, buildParams.args.buildEditorScript)
	return
def main():

    buildParams = unitybuild.BuildParams()

    buildParams.projectPath = os.path.abspath("../SpaceShooterWithStats")
    buildParams.projectName = "SpaceShooterWithStats"

    # a few handy debugging features
    buildParams.skipClean = False
    buildParams.skipBuild = False
    buildParams.skipPackage = False

    # run the build
    buildParams.validate()

    shutil.rmtree(buildParams.artifactsPath, True)
    os.mkdir(buildParams.artifactsPath)

    unity.buildFromEditorScript(buildParams.projectPath,
                                buildParams.args.buildEditorScript)
    return
def main():
	
	buildParams = unitybuild.BuildParams()

	buildParams.projectPath = os.path.abspath("../BombersUNET")
	buildParams.projectName = "Bombers"
	buildParams.baseVersion = "1.0.0"
	
	# a few handy debugging features
	buildParams.skipClean = False
	buildParams.skipBuild = False
	buildParams.skipPackage = False
	
	# run the build
	buildParams.validate()

	shutil.rmtree(buildParams.artifactsPath, True)
	os.mkdir(buildParams.artifactsPath)

	unitybuild.stampVersionFile("../BombersUNET/Assets/Resources/Version.txt", buildParams._version)

	unity.buildFromEditorScript(buildParams.projectPath, buildParams.args.buildEditorScript, "/Applications/Unity5.1/Unity.app/Contents/MacOS/Unity")

	return