Updated package setup for new site system and for linux
parent
9f8a00169c
commit
7ef5e5e118
|
@ -196,7 +196,7 @@ slash_fix(char *path){
|
||||||
for (int32_t i = 0; path[i]; ++i){
|
for (int32_t i = 0; path[i]; ++i){
|
||||||
if (path[i] == '/') path[i] = '\\';
|
if (path[i] == '/') path[i] = '\\';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -1070,7 +1070,7 @@ package(char *cdir){
|
||||||
|
|
||||||
get_4coder_dist_name(&str, 0, "API", "html");
|
get_4coder_dist_name(&str, 0, "API", "html");
|
||||||
str2 = front_of_directory(str);
|
str2 = front_of_directory(str);
|
||||||
copy_file(SITE_DIR, "4coder_API.html", PACK_DIR, "super-docs", str2.str);
|
copy_file(SITE_DIR, "custom_docs.html", PACK_DIR, "super-docs", str2.str);
|
||||||
|
|
||||||
get_4coder_dist_name(&str, 1, "super", "zip");
|
get_4coder_dist_name(&str, 1, "super", "zip");
|
||||||
zip(PACK_SUPER_PAR_DIR, "4coder", str.str);
|
zip(PACK_SUPER_PAR_DIR, "4coder", str.str);
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
WARNINGS="-Wno-write-strings"
|
||||||
|
FLAGS="-D_GNU_SOURCE -fPIC -fpermissive -DPACKAGE"
|
||||||
|
|
||||||
|
g++ $WARNINGS $FLAGS build.cpp -g -o ../build/build
|
||||||
|
../build/build
|
|
@ -8,7 +8,7 @@ fkey_command_win[4] = {0, 0};
|
||||||
fkey_command_win[5] = {0, 0};
|
fkey_command_win[5] = {0, 0};
|
||||||
fkey_command_win[6] = {0, 0};
|
fkey_command_win[6] = {0, 0};
|
||||||
fkey_command_win[7] = {0, 0};
|
fkey_command_win[7] = {0, 0};
|
||||||
fkey_command_win[8] = {"package.bat", "*compilation*", true};
|
fkey_command_win[8] = {"package.bat", "*package*"};
|
||||||
fkey_command_win[9] = {0, 0};
|
fkey_command_win[9] = {0, 0};
|
||||||
fkey_command_win[10] = {0, 0};
|
fkey_command_win[10] = {0, 0};
|
||||||
fkey_command_win[11] = {0, 0};
|
fkey_command_win[11] = {0, 0};
|
||||||
|
@ -18,14 +18,14 @@ fkey_command_win[14] = {0, 0};
|
||||||
fkey_command_win[15] = {0, 0};
|
fkey_command_win[15] = {0, 0};
|
||||||
fkey_command_win[16] = {0, 0};
|
fkey_command_win[16] = {0, 0};
|
||||||
|
|
||||||
fkey_command_linux[1] = {"make", "*compilation*", true};
|
fkey_command_linux[1] = {"./build.sh", "*compilation*", true};
|
||||||
fkey_command_linux[2] = {"../build/4ed", "*run*"};
|
fkey_command_linux[2] = {"../build/4ed", "*run*"};
|
||||||
fkey_command_linux[3] = {"site/build.sh", "*compilation*", true};
|
fkey_command_linux[3] = {"site/build.sh", "*compilation*", true};
|
||||||
fkey_command_linux[4] = {0, 0};
|
fkey_command_linux[4] = {0, 0};
|
||||||
fkey_command_linux[5] = {0, 0};
|
fkey_command_linux[5] = {0, 0};
|
||||||
fkey_command_linux[6] = {0, 0};
|
fkey_command_linux[6] = {0, 0};
|
||||||
fkey_command_linux[7] = {0, 0};
|
fkey_command_linux[7] = {0, 0};
|
||||||
fkey_command_linux[8] = {"package.sh", "*compilation*", true};
|
fkey_command_linux[8] = {"./package.sh", "*package*"};
|
||||||
fkey_command_linux[9] = {0, 0};
|
fkey_command_linux[9] = {0, 0};
|
||||||
fkey_command_linux[10] = {0, 0};
|
fkey_command_linux[10] = {0, 0};
|
||||||
fkey_command_linux[11] = {0, 0};
|
fkey_command_linux[11] = {0, 0};
|
||||||
|
|
Loading…
Reference in New Issue