Makefile 525 B

12345678910111213141516171819202122232425
  1. #
  2. # Copyright (c) 2021, 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. JS_FILES := $(shell find lib tests -name '*.js' -not -name compat\*.js)
  14. JSL_FILES_NODE = $(JS_FILES)
  15. JSSTYLE_FILES = $(JS_FILES)
  16. JSL_CONF_NODE = jsl.node.conf
  17. all:
  18. npm install
  19. test: all
  20. npm test
  21. include ./Makefile.targ