diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-09-04 17:48:51 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-09-04 17:48:51 -0400 |
commit | ba4f020083964699deff6a96f43e8d1a0acdc46b (patch) | |
tree | 2df1734d83203c512a22b17e94d542e101c81ade | |
parent | dc9fd4538267a3f793c9eee27c8bb118e784b778 (diff) |
*.gen: Update to emit the pattern looked for by the `go` tool
The `go` documentation says that the generated-code notice should match the
go regex:
^// Code generated .* DO NOT EDIT\.$
-rwxr-xr-x | sd_daemon/log_util.go.gen | 4 | ||||
-rwxr-xr-x | sd_messages/messages.go.gen | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sd_daemon/log_util.go.gen b/sd_daemon/log_util.go.gen index 3ca63dc..9bebacf 100755 --- a/sd_daemon/log_util.go.gen +++ b/sd_daemon/log_util.go.gen @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright (C) 2016 Luke Shumaker <lukeshu@sbcglobal.net> +# Copyright (C) 2016, 2018 Luke Shumaker <lukeshu@sbcglobal.net> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ { printf '//' printf ' %q' "$0" "$@" - printf '\n// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT\n\n' + printf '\n// Code generated by the above command; DO NOT EDIT.\n\n' cat <<EOF package sd_daemon diff --git a/sd_messages/messages.go.gen b/sd_messages/messages.go.gen index d4e200c..ecd2e2f 100755 --- a/sd_messages/messages.go.gen +++ b/sd_messages/messages.go.gen @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright (C) 2017 Luke Shumaker <lukeshu@sbcglobal.net> +# Copyright (C) 2017-2018 Luke Shumaker <lukeshu@sbcglobal.net> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ { printf '//' printf ' %q' "$0" "$@" - printf '\n// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT\n\n' + printf '\n// Code generated by the above command; DO NOT EDIT.\n\n' sed -rn ' 1apackage sd_messages 1aimport "git.lukeshu.com/go/libsystemd/sd_id128" |