From 5a6d8fe9d7b1fbbbe72708690e87cd4e8e1b676f Mon Sep 17 00:00:00 2001 From: Sam Therapy Date: Mon, 25 Jul 2022 01:45:58 +0200 Subject: [PATCH] add "changes" Signed-off-by: Sam Therapy --- .drone.yml | 10 ++++++++++ Makefile | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..8789095 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,10 @@ +kind: pipeline +name: default + +steps: +- name: Build + image: gcc + commands: + - apt update && apt install -y libcjson-dev libpcre3-dev libfcgi-dev + - cp config.def.h config.h + - make \ No newline at end of file diff --git a/Makefile b/Makefile index 9a32a50..33fe5d1 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ DIST = dist/ PREFIX ?= /usr/local TARGET = treebird -MASTODONT_URL = https://fossil.nekobit.net/mastodont-c +MASTODONT_URL = https://git.froth.zone/mirrors/mastodont-c all: $(MASTODONT_DIR) dep_build $(TARGET) apache: all apache_start @@ -40,7 +40,7 @@ $(PAGES_DIR)/%.ctmpl: $(PAGES_DIR)/%.tmpl ./template $< $(notdir $*) 2> $(PAGES_DIR)/$(notdir $*).c 1> $@ $(MASTODONT_DIR): - cd ..; fossil clone $(MASTODONT_URL) || true + cd ..; git clone $(MASTODONT_URL) || true cd treebird; ln -s ../mastodont-c . install: $(TARGET)