aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/macro-teal.yue
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2022-07-13 14:46:55 +0800
committerLi Jin <dragon-fly@qq.com>2022-07-13 14:46:55 +0800
commita1d341085eed96d567329a30f2cf57c95fe6f071 (patch)
tree37d359a02b99cf94fa52cfc43eb9c5c80ecfeb89 /spec/inputs/macro-teal.yue
parentaa194667c7cb7bb70f2a58477555d1419ae33eb0 (diff)
downloadyuescript-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.yue2
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
7macro to_lua = (code)-> 7macro 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)"