Compare commits
2 Commits
bb711d3014
...
e8861940cb
Author | SHA1 | Date |
---|---|---|
Ambrose Chua | e8861940cb | |
Ambrose Chua | fe5791ec4a |
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue