blob: ec02283771dba5fd51603829b167e5b38d32d2be [file] [log] [blame]
Paladox none576907c2023-02-04 16:15:57 +00001AGENT_DIRS ?= agent-debian agent-chrome agent-node agent-bazel-nocache agent-bazel agent-bazel-docker agent-sbt agent-mvn agent-release agent-python3 agent-jekyll agent-aws
Luca Milanesioaac7ac12021-10-04 19:29:09 +01002ALL_DIRS ?= server bazel-cache $(AGENT_DIRS)
Luca Milanesio9fcfbbd2018-11-08 21:59:52 +01003NO_CACHE ?= true
Luca Milanesio5efbf3d2016-05-31 15:34:43 -04004
Luca Milanesioa41f98e2018-07-10 05:05:45 -04005default: build
Luca Milanesio24f4fa82016-05-24 05:21:02 -04006
Luca Milanesio078ecd92017-04-04 05:06:37 -04007build clean publish:
Luca Milanesio9fcfbbd2018-11-08 21:59:52 +01008 for dir in $(ALL_DIRS); do (make NO_CACHE=$(NO_CACHE) -C $$dir $@) || exit 1; done
Luca Milanesioa41f98e2018-07-10 05:05:45 -04009
Luca Milanesio8a3948e2021-10-04 19:21:48 +010010publish_agent:
11 for dir in $(AGENT_DIRS); do (make NO_CACHE=$(NO_CACHE) -C $$dir build publish) || exit 1; done
Luca Milanesio24f4fa82016-05-24 05:21:02 -040012
Luca Milanesio9abfc9f2016-05-31 17:13:46 -040013start stop restart:
Luca Milanesioaac7ac12021-10-04 19:29:09 +010014 make -C server $@
Luca Milanesio24f4fa82016-05-24 05:21:02 -040015