Moved the interface renderer logic to the client

This commit is contained in:
Mario de Frutos 2016-02-04 15:18:19 +01:00
parent c768f6c44c
commit cbfe1b600f
7 changed files with 3 additions and 3 deletions

View File

@ -28,9 +28,9 @@ include $(PGXS)
SOURCES_DATA_DIR = sql/$(EXTVERSION) SOURCES_DATA_DIR = sql/$(EXTVERSION)
# The interface definition is used along with some templates to automatically generate code # The interface definition is used along with some templates to automatically generate code
RENDERER = ../sql-template-renderer RENDERER = renderer/sql-template-renderer
INTERFACE_FILE = ../interface_$(EXTVERSION).yaml INTERFACE_FILE = renderer/interfaces/interface_$(EXTVERSION).yaml
TEMPLATE_DIR = templates TEMPLATE_DIR = renderer/templates
TEMPLATE_FILES = $(wildcard $(TEMPLATE_DIR)/*.erb) TEMPLATE_FILES = $(wildcard $(TEMPLATE_DIR)/*.erb)
GENERATED_SQL_FILES = $(patsubst $(TEMPLATE_DIR)/%.erb, $(SOURCES_DATA_DIR)/%.sql, $(TEMPLATE_FILES)) GENERATED_SQL_FILES = $(patsubst $(TEMPLATE_DIR)/%.erb, $(SOURCES_DATA_DIR)/%.sql, $(TEMPLATE_FILES))