(chore) improve auto build instructions (#66)

- Try to save someone else a few minutes finding
  util/wren_to_c_string.py
This commit is contained in:
Josh Goebel 2021-04-28 17:49:10 -04:00 committed by GitHub
parent ca19532549
commit bfc0935e80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 6 deletions

View File

@ -1,4 +1,6 @@
// Generated automatically from src/module/io.wren. Do not edit.
// Please do not edit this file. It has been generated automatically
// from `src/module/io.wren` using `util/wren_to_c_string.py`
static const char* ioModuleSource =
"import \"scheduler\" for Scheduler\n"
"\n"

View File

@ -1,4 +1,6 @@
// Generated automatically from src/module/os.wren. Do not edit.
// Please do not edit this file. It has been generated automatically
// from `src/module/os.wren` using `util/wren_to_c_string.py`
static const char* osModuleSource =
"class Platform {\n"
" foreign static isPosix\n"

View File

@ -1,4 +1,6 @@
// Generated automatically from src/module/repl.wren. Do not edit.
// Please do not edit this file. It has been generated automatically
// from `src/module/repl.wren` using `util/wren_to_c_string.py`
static const char* replModuleSource =
"import \"meta\" for Meta\n"
"import \"io\" for Stdin, Stdout\n"

View File

@ -1,4 +1,6 @@
// Generated automatically from src/module/scheduler.wren. Do not edit.
// Please do not edit this file. It has been generated automatically
// from `src/module/scheduler.wren` using `util/wren_to_c_string.py`
static const char* schedulerModuleSource =
"class Scheduler {\n"
" static add(callable) {\n"

View File

@ -1,4 +1,6 @@
// Generated automatically from src/module/timer.wren. Do not edit.
// Please do not edit this file. It has been generated automatically
// from `src/module/timer.wren` using `util/wren_to_c_string.py`
static const char* timerModuleSource =
"import \"scheduler\" for Scheduler\n"
"\n"

View File

@ -14,7 +14,9 @@ import re
# #included directly by other source files. This generates a ".wren.inc" file
# given a ".wren" module.
PREAMBLE = """// Generated automatically from {0}. Do not edit.
PREAMBLE = """// Please do not edit this file. It has been generated automatically
// from `{0}` using `util/wren_to_c_string.py`
static const char* {1}ModuleSource =
{2};
"""