add runlocal

This commit is contained in:
Daniele Linguaglossa 2023-07-13 19:19:19 +02:00
parent ecaa29f7c6
commit cf08ced0fb
3 changed files with 6 additions and 2 deletions

View File

@ -5,4 +5,6 @@ default: all
all: embed libdzonerzy libdzonerzy-gen all: embed libdzonerzy libdzonerzy-gen
runlocal: libdzonerzy-runlocal
clean: clean-tools clean-libdzonerzy clean: clean-tools clean-libdzonerzy

View File

@ -45,6 +45,9 @@ libdzonerzy-gen: libdzonerzy-dump
@cp $(DIST)/libdzonerzy.so $(SITE_DIST)/libdzonerzy.so @cp $(DIST)/libdzonerzy.so $(SITE_DIST)/libdzonerzy.so
@chmod -R 755 $(SITE_DIST)/* @chmod -R 755 $(SITE_DIST)/*
libdzonerzy-runlocal:
@cd $(SITE_DIST) && python3 -m http.server 8080
clean-libdzonerzy: clean-libdzonerzy:
@echo "/* DO NOT EDIT THIS FILE - it is machine generated */" > $(SRC_DIR)/res.h @echo "/* DO NOT EDIT THIS FILE - it is machine generated */" > $(SRC_DIR)/res.h
rm -rf $(DIST) rm -rf $(DIST)

View File

@ -226,8 +226,7 @@ Copyright:
MD_TEXT("hint (") \ MD_TEXT("hint (") \
MD_BOLD("libdzonerzy.so") \ MD_BOLD("libdzonerzy.so") \
MD_TEXT(").") \ MD_TEXT(").") \
MD_NEWLINE() \ MD_NEWLINE()
MD_TEXT("TEST WEBHOOK")
#define FOOTER_MD \ #define FOOTER_MD \
MD_RAWTAG("footer", "" \ MD_RAWTAG("footer", "" \