/Makefile

http://github.com/biilmann/eventsource-broker · Makefile · 9 lines · 8 code · 1 blank · 0 comment · 1 complexity · 3ca61a95cfa5672a74c668896fc07d8e MD5 · raw file

  1. RELEASE_DIR = dist/app
  2. all:
  3. mkdir -p $(RELEASE_DIR)
  4. cabal install -flibev
  5. cp dist/build/eventsource-broker/eventsource-broker $(RELEASE_DIR)/eventsource-broker
  6. cp -r static $(RELEASE_DIR)
  7. cp -r templates $(RELEASE_DIR)
  8. cd dist && tar -czf eventsource-broker.tar.gz app/