feat(http): add custom processing to responses using response steps
This commit is contained in:
parent
6d74c8c550
commit
afd18d3a37
7 changed files with 128 additions and 66 deletions
10
Makefile
10
Makefile
|
|
@ -43,7 +43,7 @@ libtrie:
|
|||
liblsm:
|
||||
$(MAKE) -C lsm
|
||||
|
||||
.PHONY: bin
|
||||
.PHONY: $(BIN)
|
||||
$(BIN): libtrie liblsm $(OBJS)
|
||||
$(CC) -o $@ $(OBJS) $(_LDFLAGS)
|
||||
|
||||
|
|
@ -58,11 +58,17 @@ $(BUILD_DIR)/$(THIRDPARTY_DIR)/%.c.o: $(THIRDPARTY_DIR)/%.c
|
|||
|
||||
# =====TESTING=====
|
||||
.PHONY: run
|
||||
run: bin
|
||||
run: $(BIN)
|
||||
LANDER_API_KEY=test \
|
||||
LANDER_DATA_DIR=data \
|
||||
'$(BUILD_DIR)/$(BIN_FILENAME)'
|
||||
|
||||
.PHONY: valgrind
|
||||
valgrind: $(BIN)
|
||||
LANDER_API_KEY=test \
|
||||
LANDER_DATA_DIR=data \
|
||||
valgrind '$(BUILD_DIR)/$(BIN_FILENAME)'
|
||||
|
||||
.PHONY: test
|
||||
test: $(TARGETS_TEST)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue