在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):openresty/meta-lua-nginx-module开源软件地址(OpenSource Url):https://github.com/openresty/meta-lua-nginx-module开源编程语言(OpenSource Language):C 98.3%开源软件介绍(OpenSource Introduction):Namemeta-lua-nginx-module - templates and toolchains for generating http-lua-nginx-module and stream-lua-nginx-module. Table of ContentsUsage$ make SUBSYS=stream DESTDIR=/path/to/stream-lua-nginx-module/src -j4 All make options are optional. Supported Make Options
Directory Structures
DevelopingGeneral WorkflowFirst, determine where the change should go to. As an example, if you would like to change
a file inside To tell which one is the case, look at the first few lines of the generated file. A file rendered by the template engine will have something like this at it's beginning: /*
* !!! DO NOT EDIT, YOUR CHANGES WILL BE OVERWRITTEN !!!
* Generated from: src/subsystem/ngx_subsystem_foo.c.tt2
*/ Next, edit the file and use command similar to the following to build the new source code: $ make SUBSYS=http DESTDIR=../lua-nginx-module/src -j4 Next, update the tests inside the respective repository. In this case, they will be under Finally, create PRs for both the Template FeaturesAll the files under Note: The In general, you should always use the The Variable Assignments
Note that Variable Output
Branching
Comment
Snippet Reuse
This will be rendered as:
Note: Passing variables to block is not supported. Built-in VariablesFor convenience, the Their value depends only on the Note: Variable names in TT2 are case-sensitive.
Whitespace ControlWhitespace control using output modifiers like CommunityEnglish Mailing ListThe openresty-en mailing list is for English speakers. Chinese Mailing ListThe openresty mailing list is for Chinese speakers. Copyright and LicenseThis repository is licensed under the BSD license. Copyright (C) 2009-2017, by Xiaozhe Wang (chaoslawful) [email protected]. Copyright (C) 2009-2019, by Yichun "agentzh" Zhang (章亦春) [email protected], OpenResty Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论