- Support php 7 and 5.6
- Support TypeScript
This commit is contained in:
parent
eb03df7e66
commit
3e5427a95b
@ -23,9 +23,9 @@ all : build release
|
||||
|
||||
|
||||
build :
|
||||
docker build --build-arg VERSION=$(VERSION) --build-arg COMMIT_SHA=$(COMMIT) -t $(DOCKER_REGISTRY)/$(APP_NAME):$(VERSION)-php7.2 .
|
||||
docker build --build-arg VERSION=$(VERSION) --build-arg COMMIT_SHA=$(COMMIT) -t $(DOCKER_REGISTRY)/$(APP_NAME):$(VERSION)-php7.0 .
|
||||
docker build --build-arg VERSION=$(VERSION) --build-arg COMMIT_SHA=$(COMMIT) -t $(DOCKER_REGISTRY)/$(APP_NAME):$(VERSION)-php5.6 .
|
||||
docker tag $(DOCKER_REGISTRY)/$(APP_NAME):$(VERSION)-php7.2 $(DOCKER_REGISTRY)/$(APP_NAME):$(VERSION)
|
||||
docker tag $(DOCKER_REGISTRY)/$(APP_NAME):$(VERSION)-php7.0 $(DOCKER_REGISTRY)/$(APP_NAME):$(VERSION)
|
||||
|
||||
release : build
|
||||
docker push $(DOCKER_REGISTRY)/$(APP_NAME):$(VERSION)
|
||||
|
||||
@ -32,7 +32,7 @@ __initVariables() {
|
||||
CSS_FILES+=("${1}")
|
||||
fi
|
||||
;;
|
||||
*.js|*.jsx)
|
||||
*.js|*.jsx|*.ts)
|
||||
__path_exists "${1}"
|
||||
if [[ $? -ne 0 ]]; then
|
||||
__err "Specified path does not exist: ${1}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user