[Git][NTPsec/ntpsec][master] Add 'waf help', otherwise I get lost...
Gary E. Miller
gitlab at mg.gitlab.com
Sun Sep 11 02:17:14 UTC 2016
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
9a8b6c0d by Gary E. Miller at 2016-09-10T19:16:25-07:00
Add 'waf help', otherwise I get lost...
- - - - -
1 changed file:
- wscript
Changes:
=====================================
wscript
=====================================
--- a/wscript
+++ b/wscript
@@ -29,6 +29,16 @@ config = {
# Steps 1-3 as above.
# 4. waf dist --build-snapshot
+def help(ctx):
+ "Be helpful, give a usage"
+ print('''
+Usage: waf <command>
+ configure Configure the project
+ build Build the project
+ install Install the project
+ dist Create a release
+
+''')
def dist(ctx):
from wafhelpers.dist import dist_cmd
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/9a8b6c0d0e6041d13c03d2ed4132fe69721af931
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160911/8f016a57/attachment.html>
More information about the vc
mailing list