Skip to content

Commit 5583c42

Browse files
mbrukmanAlexander Patrikalakis
authored andcommitted
Hide commands in Makefile, add default target.
Signed-off-by: Misha Brukman <mbrukman@google.com>
1 parent fdc467f commit 5583c42

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

Makefile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,16 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
VERB = @
16+
ifeq ($(VERBOSE),1)
17+
VERB =
18+
endif
19+
20+
.PHONY default:
21+
$(VERB) echo "Available targets: install, serve"
22+
1523
install:
16-
bundle install --path .bundle
24+
$(VERB) bundle install --path .bundle
1725

1826
serve:
19-
bundle exec jekyll serve
27+
$(VERB) bundle exec jekyll serve

0 commit comments

Comments
 (0)