⌚ OpenOpeningstijden main server application
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 739B

123456789101112131415161718192021222324252627282930313233
  1. OUT_DIR=tmp
  2. CMD_PREFIX=bundle exec
  3. VERSION=$(shell semver)
  4. TODAY=$(shell date +%F)
  5. # You want latexmk to *always* run, because make does not have all the info.
  6. # Also, include non-file targets in .PHONY so they are run regardless of any
  7. # file of the given name existing.
  8. .PHONY: all test lint clean setup ruby packages preprocess
  9. # The first rule in a Makefile is the one executed by default ("make"). It
  10. # should always be the "all" rule, so that "make" and "make all" are identical.
  11. all: lint test
  12. # CUSTOM BUILD RULES
  13. test:
  14. $(CMD_PREFIX) ruby -I test test/**/*_test.rb
  15. lint:
  16. $(CMD_PREFIX) rubocop
  17. clean:
  18. # noop
  19. ##
  20. # Set up the project for building
  21. setup: ruby packages
  22. ruby:
  23. bundle install
  24. packages:
  25. sudo apt install ruby