Makefile 622 B

123456789101112131415161718192021222324252627282930
  1. #
  2. # Copyright (c) 2017, Joyent, Inc. All rights reserved.
  3. #
  4. # Makefile: top-level Makefile
  5. #
  6. # This Makefile contains only repo-specific logic and uses included makefiles
  7. # to supply common targets (javascriptlint, jsstyle, restdown, etc.), which are
  8. # used by other repos as well.
  9. #
  10. #
  11. # Files
  12. #
  13. CATEST = deps/catest/catest
  14. JSL = jsl
  15. JSSTYLE = jsstyle
  16. JS_FILES := $(shell find examples lib -name '*.js')
  17. JSL_FILES_NODE = $(JS_FILES)
  18. JSSTYLE_FILES = $(JS_FILES)
  19. JSL_CONF_NODE = jsl.node.conf
  20. # Default target is "check"
  21. check:
  22. test: | $(CATEST)
  23. $(CATEST) -a
  24. CATEST: deps/catest/.git
  25. include ./Makefile.targ