예제 #1
0
파일: build.py 프로젝트: 9tong/YDWE
def build(configuration):
    Log()
    print('build')
    t = datetime.datetime.now()
    print ('build {0}'.format(t))
    build_clear(configuration)
    build_all(configuration)
    build_move(configuration)
    fs.remove_all(path['Result'] / 'plugin' / 'YDColorizer')
    print ('time {0}'.format(datetime.datetime.now() - t))
예제 #2
0
파일: pack_ui.py 프로젝트: h82258652/YDWE
def pack_ui(name):
    stormlib_path = path['OpenSource'] / 'StormLib' / 'Current' / 'bin' / 'Win32' / 'Release' / 'StormLib.dll'
    from_path     = path['BuildRoot']  / 'Editor' / 'UI' / 'txt' / name
    to_path       = path['Result']     / 'share' / 'mpq' / (name + '.mpq')

    fs.remove_all(from_path)
    fs.create_directories(from_path / 'ui')
    convert_file(path['UIObj'] / name, from_path / 'ui', 'TriggerData.i')
    convert_file(path['UIObj'] / name, from_path / 'ui', 'TriggerStrings.i')
    convert_file(path['UIObj'] / name, from_path / 'ui', 'WorldEditStrings.i')
    util.mpqutil.create(stormlib_path, from_path, to_path)
예제 #3
0
파일: pack_ui.py 프로젝트: BattleNWar/YDWE
def pack_ui(name):
    print('pack_ui ' + name)
    stormlib_path = path['OpenSource'] / 'StormLib' / 'Current' / 'bin' / 'Win32' / 'Release' / 'StormLib.dll'
    from_path     = path['Development']  / 'Editor' / 'UI' / 'txt' / name
    to_path       = path['Result']     / 'share' / 'mpq' / name

    fs.remove_all(from_path)
    fs.create_directories(from_path / 'ui')
    convert_file(path['UIObj'] / name, from_path / 'ui', 'TriggerData.i')
    convert_file(path['UIObj'] / name, from_path / 'ui', 'TriggerStrings.i')
    convert_file(path['UIObj'] / name, from_path / 'ui', 'WorldEditStrings.i')
    fs.copy_directory(from_path, to_path)
예제 #4
0
def pack_ui(name):
    print('pack_ui ' + name)
    stormlib_path = path[
        'OpenSource'] / 'StormLib' / 'Current' / 'bin' / 'Win32' / 'Release' / 'StormLib.dll'
    from_path = path['BuildRoot'] / 'Editor' / 'UI' / 'txt' / name
    to_path = path['Result'] / 'share' / 'mpq' / (name + '.mpq')

    fs.remove_all(from_path)
    fs.create_directories(from_path / 'ui')
    convert_file(path['UIObj'] / name, from_path / 'ui', 'TriggerData.i')
    convert_file(path['UIObj'] / name, from_path / 'ui', 'TriggerStrings.i')
    convert_file(path['UIObj'] / name, from_path / 'ui', 'WorldEditStrings.i')
    util.mpqutil.create(stormlib_path, from_path, to_path)
예제 #5
0
파일: build.py 프로젝트: benny5609/YDWE
def build_clear(configuration):
    print ('build_clear') 
    fs.remove_all(path['ResultRoot'] / 'bin' / configuration)
    fs.remove_all(path['ResultRoot'] / 'obj' / configuration)
    fs.remove_all(path['ResultRoot'] / 'lib' / configuration)
    fs.remove_all(path['ResultRoot'] / 'publish' / configuration)
    fs.remove_all(path['BuildRoot'] / 'UI' / 'bin')
    fs.remove_all(path['BuildRoot'] / 'UI' / 'out')
    fs.remove_all(path['BuildRoot'] / 'UI' / 'txt')
예제 #6
0
파일: build.py 프로젝트: BattleNWar/YDWE
def build_clear(configuration):
    print ('build_clear') 
    fs.remove_all(path['ResultRoot'] / 'bin' / configuration)
    fs.remove_all(path['ResultRoot'] / 'obj' / configuration)
    fs.remove_all(path['ResultRoot'] / 'lib' / configuration)
    fs.remove_all(path['ProjectRoot'] / 'Build' / 'publish' / configuration)
예제 #7
0
파일: build.py 프로젝트: yatyricky/XYWE
def build_clear(configuration):
    print('build_clear')
    fs.remove_all(path['ResultRoot'] / 'bin' / configuration)
    fs.remove_all(path['ResultRoot'] / 'obj' / configuration)
    fs.remove_all(path['ResultRoot'] / 'lib' / configuration)
    fs.remove_all(path['ProjectRoot'] / 'Build' / 'publish' / configuration)
예제 #8
0
파일: build.py 프로젝트: Geshishouhu/YDWE
def build_clear(configuration):
    print ('build_clear') 
    fs.remove_all(path['ResultRoot'] / 'bin' / configuration)
    fs.remove_all(path['ResultRoot'] / 'obj' / configuration)
    fs.remove_all(path['ResultRoot'] / 'lib' / configuration)
    fs.remove_all(path['ProjectRoot'] / 'Build' / 'publish' / configuration)
    fs.remove_all(path['Development'] / 'Editor' / 'UI' / 'bin')
    fs.remove_all(path['Development'] / 'Editor' / 'UI' / 'out')
    fs.remove_all(path['Development'] / 'Editor' / 'UI' / 'txt')
예제 #9
0
파일: build.py 프로젝트: myeang1/YDWE
def build_clear(configuration):
    print('build_clear')
    fs.remove_all(path['ResultRoot'] / 'bin' / configuration)
    fs.remove_all(path['ResultRoot'] / 'obj' / configuration)
    fs.remove_all(path['ResultRoot'] / 'lib' / configuration)
    fs.remove_all(path['ResultRoot'] / 'publish' / configuration)
    fs.remove_all(path['BuildRoot'] / 'UI' / 'bin')
    fs.remove_all(path['BuildRoot'] / 'UI' / 'out')
    fs.remove_all(path['BuildRoot'] / 'UI' / 'txt')