adjusted package naming scheme

This commit is contained in:
Allen Webster 2017-02-27 09:53:38 -05:00
parent 27442c4322
commit 29bc2645ae
1 changed files with 11 additions and 12 deletions

View File

@ -520,16 +520,6 @@ get_4coder_dist_name(String *zip_file, b32 OS_specific, char *folder, char *tier
} }
append_sc(zip_file, "4coder-"); append_sc(zip_file, "4coder-");
if (OS_specific){
#if defined(IS_WINDOWS)
append_sc(zip_file, "win-");
#elif defined(IS_LINUX) && defined(IS_64BIT)
append_sc(zip_file, "linux-");
#else
#error No OS string for zips on this OS
#endif
}
append_sc (zip_file, "alpha"); append_sc (zip_file, "alpha");
append_sc (zip_file, "-"); append_sc (zip_file, "-");
append_int_to_str (zip_file, MAJOR); append_int_to_str (zip_file, MAJOR);
@ -541,6 +531,15 @@ get_4coder_dist_name(String *zip_file, b32 OS_specific, char *folder, char *tier
append_sc (zip_file, "-"); append_sc (zip_file, "-");
append_sc (zip_file, tier); append_sc (zip_file, tier);
} }
if (OS_specific){
#if defined(IS_WINDOWS)
append_sc(zip_file, "win-");
#elif defined(IS_LINUX) && defined(IS_64BIT)
append_sc(zip_file, "linux-");
#else
#error No OS string for zips on this OS
#endif
}
if (arch != 0){ if (arch != 0){
append_sc (zip_file, "-"); append_sc (zip_file, "-");
append_sc (zip_file, arch); append_sc (zip_file, arch);
@ -694,9 +693,9 @@ package(char *cdir){
make_folder_if_missing(pack_dir, zip_dir); make_folder_if_missing(pack_dir, zip_dir);
copy_file(build_dir, "4ed"EXE, dir, 0, 0); copy_file(build_dir, "4ed"EXE, dir, 0, 0);
ONLY_WINDOWS(copy_file(build_dir, "4ed"PDB, dir, 0, 0)); //ONLY_WINDOWS(copy_file(build_dir, "4ed"PDB, dir, 0, 0));
copy_file(build_dir, "4ed_app"DLL, dir, 0, 0); copy_file(build_dir, "4ed_app"DLL, dir, 0, 0);
ONLY_WINDOWS(copy_file(build_dir, "4ed_app"PDB, dir, 0, 0)); //ONLY_WINDOWS(copy_file(build_dir, "4ed_app"PDB, dir, 0, 0));
copy_file(build_dir, "custom_4coder"DLL, dir, 0, 0); copy_file(build_dir, "custom_4coder"DLL, dir, 0, 0);
copy_all (pack_data_dir, "*", dir); copy_all (pack_data_dir, "*", dir);