feat: add Make file
All checks were successful
gitea-sync/antos-backend/pipeline/head This commit looks good

This commit is contained in:
DanyLE 2024-03-09 18:44:13 +01:00
parent b80bb1c0ab
commit 32bd62ae86

10
Makefile Normal file
View File

@ -0,0 +1,10 @@
DESTDIR?=/opt/www/htdocs/os
all:
- mkdir -p $(DESTDIR)
cp router.lua mimes.json $(DESTDIR)
cp -rf controllers $(DESTDIR)
cp -rf libs $(DESTDIR)
clean:
rm -rf $(DESTDIR)/router.lua $(DESTDIR)/mimes.json \
$(DESTDIR)/controllers $(DESTDIR)/libs