From 982cd080832e2b2ca965ea96867d98fd7c4ff3a0 Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Thu, 4 Feb 2021 20:13:57 +0800 Subject: [PATCH] Rename unix to jerry for entrance files. (#4536) JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo luoyonggang@gmail.com --- jerry-main/CMakeLists.txt | 6 +++--- jerry-main/{main-unix-snapshot.c => main-jerry-snapshot.c} | 0 jerry-main/{main-unix-test.c => main-jerry-test.c} | 0 jerry-main/{main-unix.c => main-jerry.c} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename jerry-main/{main-unix-snapshot.c => main-jerry-snapshot.c} (100%) rename jerry-main/{main-unix-test.c => main-jerry-test.c} (100%) rename jerry-main/{main-unix.c => main-jerry.c} (100%) diff --git a/jerry-main/CMakeLists.txt b/jerry-main/CMakeLists.txt index 395d207bd..ccd62f4ec 100644 --- a/jerry-main/CMakeLists.txt +++ b/jerry-main/CMakeLists.txt @@ -64,12 +64,12 @@ endif() # Jerry standalones if(JERRY_CMDLINE) - jerry_create_executable("jerry" "main-unix.c" "main-utils.c" "main-options.c" "cli.c") + jerry_create_executable("jerry" "main-jerry.c" "main-utils.c" "main-options.c" "cli.c") target_link_libraries("jerry" jerry-ext jerry-port-default) endif() if(JERRY_CMDLINE_TEST) - jerry_create_executable("jerry-test" "main-unix-test.c" "benchmarking.c") + jerry_create_executable("jerry-test" "main-jerry-test.c" "benchmarking.c") target_link_libraries("jerry-test" jerry-port-default) if (JERRY_TEST_STACK_MEASURE) target_compile_definitions("jerry-test" PRIVATE -DJERRY_TEST_STACK_MEASURE=1) @@ -77,6 +77,6 @@ if(JERRY_CMDLINE_TEST) endif() if(JERRY_CMDLINE_SNAPSHOT) - jerry_create_executable("jerry-snapshot" "main-unix-snapshot.c" "cli.c") + jerry_create_executable("jerry-snapshot" "main-jerry-snapshot.c" "cli.c") target_link_libraries("jerry-snapshot" jerry-port-default) endif() diff --git a/jerry-main/main-unix-snapshot.c b/jerry-main/main-jerry-snapshot.c similarity index 100% rename from jerry-main/main-unix-snapshot.c rename to jerry-main/main-jerry-snapshot.c diff --git a/jerry-main/main-unix-test.c b/jerry-main/main-jerry-test.c similarity index 100% rename from jerry-main/main-unix-test.c rename to jerry-main/main-jerry-test.c diff --git a/jerry-main/main-unix.c b/jerry-main/main-jerry.c similarity index 100% rename from jerry-main/main-unix.c rename to jerry-main/main-jerry.c