Makefile 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. default: build
  2. all: build
  3. ICED=node_modules/.bin/iced
  4. BUILD_STAMP=build-stamp
  5. TEST_STAMP=test-stamp
  6. default: build
  7. all: build
  8. lib/%.js: src/%.iced
  9. $(ICED) -I node -c -o `dirname $@` $<
  10. $(BUILD_STAMP): \
  11. lib/command/announce.js \
  12. lib/command/argparse.js \
  13. lib/command/all.js \
  14. lib/command/base.js \
  15. lib/command/btc.js \
  16. lib/command/cert.js \
  17. lib/command/config.js \
  18. lib/command/decrypt.js \
  19. lib/command/decrypt_and_verify.js \
  20. lib/command/dir.js \
  21. lib/command/encrypt.js \
  22. lib/command/help.js \
  23. lib/command/id.js \
  24. lib/command/join.js \
  25. lib/command/keygen.js \
  26. lib/command/list_signatures.js \
  27. lib/command/list_tracking.js \
  28. lib/command/login.js \
  29. lib/command/logout.js \
  30. lib/command/proof_base.js \
  31. lib/command/prove.js \
  32. lib/command/pull.js \
  33. lib/command/push.js \
  34. lib/command/push_and_keygen.js \
  35. lib/command/reset.js \
  36. lib/command/revoke.js \
  37. lib/command/revoke_sig.js \
  38. lib/command/search.js \
  39. lib/command/sign.js \
  40. lib/command/status.js \
  41. lib/command/switch.js \
  42. lib/command/track.js \
  43. lib/command/untrack.js \
  44. lib/command/update.js \
  45. lib/command/verify.js \
  46. lib/command/version.js \
  47. lib/basex.js \
  48. lib/bn.js \
  49. lib/ca.js \
  50. lib/chainlink.js \
  51. lib/checkers.js \
  52. lib/colors.js \
  53. lib/config.js \
  54. lib/constants.js \
  55. lib/db.js \
  56. lib/display.js \
  57. lib/dve.js \
  58. lib/env.js \
  59. lib/err.js \
  60. lib/file.js \
  61. lib/fs.js \
  62. lib/gpg.js \
  63. lib/hkp_loopback.js \
  64. lib/keymanager.js \
  65. lib/keypatch.js \
  66. lib/keypull.js \
  67. lib/keyring.js \
  68. lib/keyselector.js \
  69. lib/keys.js \
  70. lib/keyutils.js \
  71. lib/log.js \
  72. lib/merkle_client.js \
  73. lib/package.js \
  74. lib/prompter.js \
  75. lib/proxyca.js \
  76. lib/services.js \
  77. lib/sigs.js \
  78. lib/pw.js \
  79. lib/queue.js \
  80. lib/req.js \
  81. lib/scrapers.js \
  82. lib/session.js \
  83. lib/setup.js \
  84. lib/sigchain.js \
  85. lib/tor.js \
  86. lib/trackwrapper.js \
  87. lib/tracksubsub.js \
  88. lib/user.js \
  89. lib/util.js \
  90. lib/version.js
  91. date > $@
  92. clean:
  93. find lib -type f -name *.js -exec rm {} \;
  94. build: $(BUILD_STAMP)
  95. setup:
  96. npm install -d
  97. test:
  98. (cd test && ../$(ICED) run.iced)
  99. .PHONY: test setup