Makefile in rimless-1.1.1 vs Makefile in rimless-1.2.0
- old
+ new
@@ -28,11 +28,10 @@
# Container binaries
APPRAISAL ?= appraisal
BUNDLE ?= bundle
GEM ?= gem
RAKE ?= rake
-RAKE ?= rake
RUBOCOP ?= rubocop
YARD ?= yard
# Files
GEMFILES ?= $(subst _,-,$(patsubst $(GEMFILES_DIR)/%.gemfile,%,\
@@ -78,22 +77,22 @@
@$(call run-shell,$(BUNDLE) check || $(BUNDLE) install --path $(VENDOR_DIR))
@$(call run-shell,GEM_HOME=vendor/bundle/ruby/$${RUBY_MAJOR}.0 \
$(GEM) install bundler -v "~> 1.0")
@$(call run-shell,$(BUNDLE) exec $(APPRAISAL) install)
-update: install
+update:
# Install the dependencies
@$(MKDIR) -p $(VENDOR_DIR)
@$(call run-shell,$(BUNDLE) exec $(APPRAISAL) update)
test: \
test-specs \
test-style
test-specs:
# Run the whole test suite
- @$(call run-shell,$(BUNDLE) exec $(RAKE))
+ @$(call run-shell,$(BUNDLE) exec $(RAKE) stats spec)
$(TEST_GEMFILES): GEMFILE=$(@:test-%=%)
$(TEST_GEMFILES):
# Run the whole test suite ($(GEMFILE))
@$(call run-shell,$(BUNDLE) exec $(APPRAISAL) $(GEMFILE) $(RAKE))
@@ -128,27 +127,27 @@
| $(XARGS) -rn1 $(DOCKER) rmi -f
endif
distclean: clean clean-containers clean-images
-shell: install
+shell:
# Run an interactive shell on the container
@$(call run-shell,$(BASH) -i)
-shell-irb: install
+shell-irb:
# Run an interactive IRB shell on the container
@$(call run-shell,bin/console)
-docs: install
+docs:
# Build the API documentation
@$(call run-shell,$(BUNDLE) exec $(YARD) -q && \
$(BUNDLE) exec $(YARD) stats --list-undoc --compact)
-notes: install
+notes:
# Print the code statistics (library and test suite)
@$(call run-shell,$(BUNDLE) exec $(RAKE) notes)
-stats: install
+stats:
# Print all the notes from the code
@$(call run-shell,$(BUNDLE) exec $(RAKE) stats)
release:
# Release a new gem version