Files
Michael McGuinness 92334ad1dd Merged in feature/s3integration (pull request #47)
Set Up S3 integration

* cfginterfaceandfirsts3funcs

* addlocalstack

* generallypassesfullsuite

* addedmultipleattemptedpings

* cleanup

* stabiliseplusskip
2025-02-05 12:52:41 +00:00

24 lines
592 B
Makefile

all: build
.PHONY: init
init:
git submodule update --init --recursive
.PHONY: update-submodule
update-submodule: init
# Fetch the latest tags
cd swagger-ui && git fetch --tags
# Get the latest tag
$(eval LATEST_TAG := $(shell cd swagger-ui && git describe --tags `git rev-list --tags --max-count=1`))
@echo "Latest tag for swagger-ui: $(LATEST_TAG)"
# Checkout the latest tag
cd swagger-ui && git checkout $(LATEST_TAG)
@echo "Updated submodule swagger-ui to latest tag: ${LATEST_TAG}"
.PHONY: clean
clean:
rm -rf dist/*
.PHONY: build
build: clean
cp -r swagger-ui/dist/* dist/