Makefile in alarmable-1.2.2 vs Makefile in alarmable-1.2.3
- old
+ new
@@ -155,11 +155,17 @@
# Run an interactive IRB shell on the container
@$(call run-shell,bin/console)
docs:
# Build the API documentation
+ @$(RM) -rf doc/api
@$(call run-shell,$(BUNDLE) exec $(YARD) -q && \
$(BUNDLE) exec $(YARD) stats --list-undoc --compact)
+ @$(MKDIR) -p doc/api/doc doc/api/assets
+ @$(CP) -ar doc/assets doc/api/doc
+ @$(CP) -ar doc/assets/* doc/api/assets
+ #
+ # Docs: file://$(abspath doc/api)/index.html
notes:
# Print the code statistics (library and test suite)
@$(call run-shell,$(BUNDLE) exec $(RAKE) notes)