-
-
Notifications
You must be signed in to change notification settings - Fork 577
Conversation
Makefile
Outdated
@@ -0,0 +1,15 @@ | |||
TAGS="sqlite vbuffalo" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about a conditional assign here? This way, we provide a default, but the user can override the TAGS
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stanislas-m you're stretching my Makefile skills here. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From https://ftp.gnu.org/old-gnu/Manuals/make-3.79.1/html_chapter/make_6.html:
There is another assignment operator for variables, `?='. This is called a conditional variable assignment operator, because it only has an effect if the variable is not yet defined. This statement:
FOO ?= bar
is exactly equivalent to this (see section The origin Function):
ifeq ($(origin FOO), undefined)
FOO = bar
endif
Note that a variable set to an empty value is still defined, so `?=' will not set that variable.
@markbates Did you put the |
…into vbuffalo-opt-in
Codecov Report
@@ Coverage Diff @@
## development #1096 +/- ##
============================================
Coverage 60.76% 60.76%
============================================
Files 56 56
Lines 2867 2867
============================================
Hits 1742 1742
Misses 1022 1022
Partials 103 103 Continue to review full report at Codecov.
|
No description provided.