Esempio n. 1
0
            )
    else:
        call('dotnet build Dev/Editor/Effekseer/Effekseer.Std.csproj')
        call(
            'dotnet publish Dev/Editor/Effekseer/Effekseer.Std.csproj -c Release --self-contained -r linux-x64'
        )
        call('cp -r Dev/release/linux-x64/publish/* Dev/release/')

if env['PACKAGEING_FOR_MAC'] == '1' and aceutils.isMac():

    aceutils.cd('Dev')
    aceutils.call(
        'cd release;mkbundle -o Effekseer Effekseer.exe --deps --sdk $MONO_SDK_PATH;otool -L Effekseer',
        env=env)
    aceutils.mkdir('Mac/Effekseer.app/Contents/Resources/')
    aceutils.copy('release/Effekseer', 'Mac/Effekseer.app/Contents/Resources/')
    aceutils.copy('release/Effekseer.exe',
                  'Mac/Effekseer.app/Contents/Resources/')
    aceutils.copy('release/libViewer.dylib',
                  'Mac/Effekseer.app/Contents/Resources/')
    aceutils.copy('release/EffekseerCore.dll',
                  'Mac/Effekseer.app/Contents/Resources/')
    aceutils.copy('release/EffekseerMaterialEditor',
                  'Mac/Effekseer.app/Contents/Resources/')
    aceutils.copy(
        '/Library/Frameworks/Mono.framework/Libraries/libMonoPosixHelper.dylib',
        'Mac/Effekseer.app/Contents/Resources/')
    aceutils.copytree('release/resources',
                      'Mac/Effekseer.app/Contents/Resources/resources')
    aceutils.copytree('release/scripts',
                      'Mac/Effekseer.app/Contents/Resources/scripts')
Esempio n. 2
0
        ' Dev/Editor/EffekseerCore/EffekseerCore.csproj /t:build /p:Configuration=Release /p:Platform=x64'
    )
    call(
        '"' + msbuild_path + '"' +
        ' Dev/Editor/Effekseer/Effekseer.csproj /t:build /p:Configuration=Release /p:Platform=x64'
    )

if env['PACKAGEING_FOR_MAC'] == '1':

    if aceutils.isMac():
        aceutils.cd('Dev')
        aceutils.call(
            'cd release;mkbundle -o Effekseer Effekseer.exe --deps --sdk $MONO_SDK_PATH;otool -L Effekseer',
            env=env)
        aceutils.mkdir('Mac/Effekseer.app/Contents/Resources/')
        aceutils.copy('release/Effekseer',
                      'Mac/Effekseer.app/Contents/Resources/')
        aceutils.copy('release/Effekseer.exe',
                      'Mac/Effekseer.app/Contents/Resources/')
        aceutils.copy('release/libViewer.dylib',
                      'Mac/Effekseer.app/Contents/Resources/')
        aceutils.copy('release/EffekseerCore.dll',
                      'Mac/Effekseer.app/Contents/Resources/')
        aceutils.copy('release/EffekseerMaterialEditor',
                      'Mac/Effekseer.app/Contents/Resources/')

        aceutils.copytree('release/resources',
                          'Mac/Effekseer.app/Contents/Resources/resources')
        aceutils.copytree('release/scripts',
                          'Mac/Effekseer.app/Contents/Resources/scripts')
        aceutils.copytree('release/tools',
                          'Mac/Effekseer.app/Contents/Resources/tools')