# os.system ('git reset --hard')
# os.system ('git pull')
- #remove_folder('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/mobile')
+ remove_folder('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/mobile')
remove_folder('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/tv')
- #remove_folder('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/wearable')
- remove_folder('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/headed')
+ remove_folder('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/wearable')
+ remove_folder('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/tizeniot')
create_folder('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/mobile')
remove_folder('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/pkg_infos')
create_folder('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/pkg_infos')
# pack wearable package
- # os.system(LINUX_PERMISSION+' python3 pack.py '+'all')
- # os.system(LINUX_PERMISSION+' python3 pack.py '+'auto ElmSharpWearable')
- # os.system(LINUX_PERMISSION+' python3 pack.py '+'manual ElmSharpWearable')
- # os.system(LINUX_PERMISSION+' python3 pack.py '+'auto NUI.Wearable')
- # os.system(LINUX_PERMISSION+' python3 pack.py '+'manual NUI.Wearable')
- # os.system(LINUX_PERMISSION+' python3 pack.py '+'auto WatchfaceComplication')
+ os.system(LINUX_PERMISSION+' python3 pack.py '+'all')
+ os.system(LINUX_PERMISSION+' python3 pack.py '+'auto ElmSharpWearable')
+ os.system(LINUX_PERMISSION+' python3 pack.py '+'manual ElmSharpWearable')
+ os.system(LINUX_PERMISSION+' python3 pack.py '+'auto NUI.Wearable')
+ os.system(LINUX_PERMISSION+' python3 pack.py '+'manual NUI.Wearable')
+ os.system(LINUX_PERMISSION+' python3 pack.py '+'auto WatchfaceComplication')
# Copy mobile package folder to wearable package.
# set wearable_pkg_info.xml
- # sed_inplace('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/pkg_infos/mobile_pkg_info.xml','profile="mobile"', 'profile="wearable"' )
- # sed_inplace('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/pkg_infos/mobile_pkg_info.xml','mobile/', 'wearable/' )
- # os.rename('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/pkg_infos/mobile_pkg_info.xml','../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/pkg_infos/wearable_pkg_info.xml')
+ sed_inplace('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/pkg_infos/mobile_pkg_info.xml','profile="mobile"', 'profile="wearable"' )
+ sed_inplace('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/pkg_infos/mobile_pkg_info.xml','mobile/', 'wearable/' )
+ os.rename('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/pkg_infos/mobile_pkg_info.xml','../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/pkg_infos/wearable_pkg_info.xml')
# rename mobile folder to wearable folder
- # os.rename('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/mobile','../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/wearable')
+ os.rename('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/mobile','../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/wearable')
- # pack headed package
+ # pack tizeniot package
os.system(LINUX_PERMISSION + ' python3 pack.py ' + 'all')
os.system(LINUX_PERMISSION+' python3 pack.py '+'manual NUI')
- # Copy mobile package folder to headed package.
- # set headed_pkg_info.xml
+ # Copy mobile package folder to tizeniot package.
+ # set tizeniot_pkg_info.xml
sed_inplace('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/pkg_infos/mobile_pkg_info.xml',
- 'profile="mobile"', 'profile="headed"')
+ 'profile="mobile"', 'profile="tizeniot"')
sed_inplace('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/pkg_infos/mobile_pkg_info.xml',
- 'mobile/', 'headed/')
+ 'mobile/', 'tizeniot/')
os.rename('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/pkg_infos/mobile_pkg_info.xml',
- '../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/pkg_infos/headed_pkg_info.xml')
- # rename mobile folder to headed folder
+ '../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/pkg_infos/tizeniot_pkg_info.xml')
+ # rename mobile folder to tizeniot folder
os.rename('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/mobile',
- '../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/headed')
+ '../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/tizeniot')
# pack mobile package
- # create_folder('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/mobile')
- # os.system(LINUX_PERMISSION+' python3 pack.py '+'all')
- # os.system(LINUX_PERMISSION+' python3 pack.py '+'manual NUI')
+ create_folder('../../release/csharp-tct_7.5_dotnet/csharp-tct_7.5_dotnet/package/mobile')
+ os.system(LINUX_PERMISSION+' python3 pack.py '+'all')
+ os.system(LINUX_PERMISSION+' python3 pack.py '+'manual NUI')