mirror of
https://github.com/nmap/nmap.git
synced 2025-12-08 05:31:31 +00:00
Add a lua-format Makefile target to format scripts/*.nse.
This commit is contained in:
@@ -405,6 +405,10 @@ Makefile: Makefile.in config.status
|
|||||||
config.status: configure
|
config.status: configure
|
||||||
./config.status --recheck
|
./config.status --recheck
|
||||||
|
|
||||||
|
# Run the lua-format program to fix formatting of NSE files.
|
||||||
|
lua-format:
|
||||||
|
./docs/style/lua-format -i scripts/*.nse
|
||||||
|
|
||||||
makefile.dep:
|
makefile.dep:
|
||||||
$(CXX) -MM $(CPPFLAGS) $(SRCS) > $@
|
$(CXX) -MM $(CPPFLAGS) $(SRCS) > $@
|
||||||
include makefile.dep
|
include makefile.dep
|
||||||
@@ -426,3 +430,5 @@ smb-serverstats smb-systeminfo SMTPcommands SMTP_openrelay_test \
|
|||||||
smtp-check-vulns SNMPcommunitybrute SNMPsysdescr SQLInject SSH-hostkey \
|
smtp-check-vulns SNMPcommunitybrute SNMPsysdescr SQLInject SSH-hostkey \
|
||||||
SSHv1-support SSLv2-support strangeSMTPport UPnP-info xamppDefaultPass \
|
SSHv1-support SSLv2-support strangeSMTPport UPnP-info xamppDefaultPass \
|
||||||
zoneTrans db2-info db2-brute html-title robots.txt xmpp sql-injection)
|
zoneTrans db2-info db2-brute html-title robots.txt xmpp sql-injection)
|
||||||
|
|
||||||
|
.PHONY: lua-format
|
||||||
|
|||||||
Reference in New Issue
Block a user