openresty / meta-lua-nginx-module

Meta Lua Nginx Module supporting both Http Lua Module and Stream Lua Module
66 stars 20 forks source link

mini-tt2: output warning at the beginning of the file to remind #36

Closed dndx closed 6 years ago

dndx commented 6 years ago

developers not to edit it directly.

Here is what it looks like:

[datong@localhost meta-lua-nginx-module]$ head build/src/ngx_stream_lua_util.h 
/*
 * !!! DO NOT EDIT DIRECTLY !!!
 * This file was automatically generated from the following template:
 *
 * File: src/subsys/ngx_subsys_lua_util.h.tt2
 * Modified: Mon Mar 26 12:16:25 2018
 */
agentzh commented 6 years ago

@dndx Better remove the modified dates from the header comment otherwise it would make output comparison and version control quite painful.

dndx commented 6 years ago

@agentzh Good point. Removed.

dndx commented 6 years ago

@agentzh Is this good to be merged now?