[VOL-5247] branch and release repo:voltha-go
compose/
makefiles/
rw_core/test/
rw_core/utils/
--------------
o Bulk update copyright notices for 2024.
o Also submitted for side effects, initiate a jenkins job.
VERSION
-------
o Bump version string in preparation for branching.
Change-Id: I281867d8e298ef81c6dc2a6d416d330c996c4592
diff --git a/Makefile b/Makefile
index 22f53de..34051de 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
# -*- makefile -*-
# -----------------------------------------------------------------------#
-# Copyright 2016-2023 Open Networking Foundation (ONF) and the ONF Contributors
+# Copyright 2016-2024 Open Networking Foundation (ONF) and the ONF Contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@
##--------------------##
##---] INCLUDES [---##
##--------------------##
--include config.mk
+include config.mk
include makefiles/include.mk
# Variables
@@ -179,8 +179,8 @@
$(RM) -r ./sca-report
fmt: ## Formats the soure code to go best practice style
-# gofmt -s -w $(PACKAGES)
- @go fmt ${PACKAGES}
+ gofmt -s -e -w $(PACKAGES)
+# @go fmt ${PACKAGES}
## -----------------------------------------------------------------------
## -----------------------------------------------------------------------
@@ -224,7 +224,8 @@
# For each makefile target, add ## <description> on the target line and it will be listed by 'make help'
## ---------------------------------------------------------------------------
help :: ## Print help for each Makefile target
- @echo "Usage: make [<target>]"
+ @echo 'Usage: make [options] [target] ...'
+ @printf ' %-33.33s %s\n' 'fmt' 'Run gofmt -s -e -w to normalize syntax'
@echo " help This message"
@echo " todo Future enhancements"
@echo " versions Display version-by-tool used while building"