add "changes"
continuous-integration/drone/push Build is passing Details

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2022-07-25 01:45:58 +02:00
parent 8ab015670b
commit 5a6d8fe9d7
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
2 changed files with 12 additions and 2 deletions

10
.drone.yml Normal file
View File

@ -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

View File

@ -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)