1
0
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
Ambrose Chua e8861940cb
Allow development on my macOS ZFS symlink
continuous-integration/drone/push Build is passing Details
2020-06-13 16:59:33 +08:00
Ambrose Chua fe5791ec4a
Change management to use bucket URL 2020-06-13 16:57:56 +08:00
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ DEV_PORT ?= 5000
SHARED ?= ../shared
SHARED_COPY ?= $(OUTPUT)/shared
current_dir = $(shell pwd)
current_dir ?= $(shell pwd)
shared_files = $(wildcard $(SHARED)/*/*)
shared_copy_files = $(foreach path,$(shared_files),$(subst $(SHARED)/,$(SHARED_COPY)/,$(path)))
@ -42,7 +42,7 @@ container: .containertest .container
touch $@
DEV_BUCKET ?= test.ambrose.photos
DEV_BUCKET ?= http://api.ambrose.photos:9000/test.ambrose.photos
.PHONY: dev
# Start a development server
dev: $(SOURCE)/* $(OUTPUT)/index.html $(shared_copy_files) | container