diff options
author | Li Jin <dragon-fly@qq.com> | 2022-07-13 14:46:55 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2022-07-13 14:46:55 +0800 |
commit | a1d341085eed96d567329a30f2cf57c95fe6f071 (patch) | |
tree | 37d359a02b99cf94fa52cfc43eb9c5c80ecfeb89 /spec/inputs/macro-teal.yue | |
parent | aa194667c7cb7bb70f2a58477555d1419ae33eb0 (diff) | |
download | yuescript-a1d341085eed96d567329a30f2cf57c95fe6f071.tar.gz yuescript-a1d341085eed96d567329a30f2cf57c95fe6f071.tar.bz2 yuescript-a1d341085eed96d567329a30f2cf57c95fe6f071.zip |
auto add search path for cmd tools.
Diffstat (limited to 'spec/inputs/macro-teal.yue')
-rw-r--r-- | spec/inputs/macro-teal.yue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/inputs/macro-teal.yue b/spec/inputs/macro-teal.yue index 951e882..a443614 100644 --- a/spec/inputs/macro-teal.yue +++ b/spec/inputs/macro-teal.yue | |||
@@ -2,7 +2,7 @@ $ -> | |||
2 | import "yue" as {:options} | 2 | import "yue" as {:options} |
3 | if options.tl_enabled | 3 | if options.tl_enabled |
4 | options.target_extension = "tl" | 4 | options.target_extension = "tl" |
5 | package.path ..= "?.lua;./spec/lib/?.lua" | 5 | package.path ..= ";./spec/lib/?.lua" |
6 | 6 | ||
7 | macro to_lua = (code)-> | 7 | macro to_lua = (code)-> |
8 | "require('yue').to_lua(#{code}, reserve_line_number:false, same_module:true)" | 8 | "require('yue').to_lua(#{code}, reserve_line_number:false, same_module:true)" |