mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 01:44:03 +03:00
0c8dce35e4
GitOrigin-RevId: 5aa89862f0427bdc3ab1aa84ba8041286786fcb0
24 lines
539 B
Makefile
24 lines
539 B
Makefile
PWD := $(shell pwd)
|
|
PARENT_DIR := $(shell dirname $(PWD))
|
|
VERSION ?= $(shell ../get-version.sh)
|
|
BUILD_DIR ?= /build
|
|
BUILD_OUTPUT ?= $(BUILD_DIR)/_cli_migrations_output
|
|
SERVER_BUILD_OUTPUT := $(BUILD_DIR)/_server_output
|
|
SHELL := /bin/bash
|
|
.SHELLFLAGS := -ce
|
|
|
|
.PHONY: build-cli-migrations-v2
|
|
.ONESHELL:
|
|
build-cli-migrations-v2:
|
|
cd v2
|
|
./build.sh $(SERVER_BUILD_OUTPUT) $(BUILD_OUTPUT)
|
|
|
|
.PHONY: test-cli-migrations-v2
|
|
.ONESHELL:
|
|
test-cli-migrations-v2:
|
|
cd v2/test
|
|
./test.sh
|
|
|
|
.PHONY: all
|
|
all: build-cli-migrations-v2 test-cli-migrations-v2
|