34 lines
974 B
Python
34 lines
974 B
Python
import os
|
|
|
|
import settings
|
|
import instruments
|
|
|
|
# print("all projects:")
|
|
# print(settings.all_projects)
|
|
|
|
# project_to_remove = settings.projects_to_exclude[0];
|
|
# print("project to remove:")
|
|
# print(project_to_remove);
|
|
|
|
|
|
# projects_to_build = settings.all_projects[:]
|
|
# projects_to_build.remove(project_to_remove)
|
|
|
|
# print("projects to build:")
|
|
# print(projects_to_build)
|
|
|
|
cmd_args = {'version' : '1.2.3', 'some_field' : 'some_value'}
|
|
# sln_dir = os.path.dirname(settings.sln_path)
|
|
|
|
# instruments.CreateOrRestoreFromBackup(sln_dir, settings.files_for_backup)
|
|
# instruments.RemoveProjectFromSolution(settings.sln_path, settings.projects_to_exclude)
|
|
# instruments.CleanSolution(settings.mdtool, settings.sln_path)
|
|
# instruments.BuildSolution(settings.mdtool, settings.sln_path, sln_config)
|
|
|
|
instruments.CompileConfigs(settings.build_ready_configs, cmd_args)
|
|
|
|
for conf in settings.build_ready_configs:
|
|
print conf
|
|
|
|
|
|
# instruments.DeleteBackups(sln_dir, settings.files_for_backup) |