diff options
author | Jasper Van der Jeugt | 2020-08-13 19:19:22 +0200 |
---|---|---|
committer | Jasper Van der Jeugt | 2020-08-13 19:19:22 +0200 |
commit | 8d5c0405565ad4afd976efd1262b3224efd6ee2f (patch) | |
tree | 8d24ecb97212d54943d104ed95f1fda4dea7c1fd /Makefile | |
parent | a39fe7ff759a552c64a060f0d98a0d4e8a577b01 (diff) |
cafp -> uplcg
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -14,23 +14,23 @@ build: server/assets/client.js \ .PHONY: docker docker: - docker build -t jaspervdj/cafp . - docker push jaspervdj/cafp + docker build -t jaspervdj/uplcg . + docker push jaspervdj/uplcg .PHONY: server server: build (cd server && \ - CAFP_HOSTNAME=$(CAFP_HOSTNAME) \ - CAFP_PORT=$(CAFP_PORT) \ - CAFP_BASE=$(CAFP_BASE) \ - stack exec cafp-server) + UPLCG_HOSTNAME=$(UPLCG_HOSTNAME) \ + UPLCG_PORT=$(UPLCG_PORT) \ + UPLCG_BASE=$(UPLCG_BASE) \ + stack exec uplcg-server) .PHONY: stack_build stack_build: $(HS_SOURCES) (cd server && stack build) $(ELM_MESSAGES_SOURCE): stack_build - (cd server && stack exec cafp-generate-elm-types) >$(ELM_MESSAGES_SOURCE) + (cd server && stack exec uplcg-generate-elm-types) >$(ELM_MESSAGES_SOURCE) server/assets/client.js: $(ELM_MESSAGES_SOURCE) $(ELM_SOURCES) mkdir -p server/assets @@ -38,8 +38,8 @@ server/assets/client.js: $(ELM_MESSAGES_SOURCE) $(ELM_SOURCES) .PHONY: server/assets/client.html # Depends on git hash. server/assets/client.html: client/index.html config.mk - sed "s@\$$CAFP_BASE@$(CAFP_BASE)@" $< | \ - sed "s@\$$CAFP_VERSION@$(CAFP_VERSION)@" >$@ + sed "s@\$$UPLCG_BASE@$(UPLCG_BASE)@" $< | \ + sed "s@\$$UPLCG_VERSION@$(UPLCG_VERSION)@" >$@ server/assets/style.css: client/style.css cp $< $@ |