it's cube time babey
This commit is contained in:
parent
18bcac9c64
commit
25b3261079
89 changed files with 1437 additions and 1575 deletions
25
Makefile
25
Makefile
|
@ -1,15 +1,12 @@
|
|||
CSS = $(shell find style -type f)
|
||||
PAGES = index.html where.html pubkey.txt id.html links.html
|
||||
MEDIA = $(patsubst %,media/%, \
|
||||
bg.png bg_2x.png bg_dim.png bg_2x_dim.png kesi.png quoxtrans.png \
|
||||
mlem.gif mlem_static.png chitter.png butterfly.png lockpen.png \
|
||||
quobl.png quobl2.png \
|
||||
) \
|
||||
$(wildcard media/*.svg) $(wildcard media/flags/*) \
|
||||
$(wildcard media/buttons/*) \
|
||||
CSS = $(wildcard *.css) $(shell find fonts -type f)
|
||||
PAGES = index.html pubkey.txt
|
||||
MEDIA = \
|
||||
$(wildcard media/*.png) $(wildcard media/*.svg) $(wildcard media/*.webp) \
|
||||
$(wildcard media/flags/*) $(wildcard media/buttons/*) \
|
||||
8831.png 8831-quox.png
|
||||
SCRIPTS = $(patsubst %.ts,%.js,$(wildcard *.ts))
|
||||
MISC = $(shell find .well-known -type f)
|
||||
ALL = $(CSS) $(PAGES) $(MEDIA) $(MISC)
|
||||
ALL = $(CSS) $(PAGES) $(MEDIA) $(SCRIPTS) $(MISC)
|
||||
|
||||
BUILDDIR ?= _build
|
||||
TMPDIR ?= _tmp
|
||||
|
@ -17,7 +14,7 @@ TMPDIR ?= _tmp
|
|||
HOST ?= yummy.cricket
|
||||
REMOTE_USER ?= www-data
|
||||
IDFILE ?= ~/.ssh/xyz
|
||||
REMOTE_DIR ?= yummy
|
||||
REMOTE_DIR ?= yummy/test
|
||||
|
||||
all: build
|
||||
|
||||
|
@ -61,6 +58,12 @@ $(BUILDDIR)/%.GIF: %.ICO
|
|||
@mkdir -p $(dir $@)
|
||||
@convert '$<[0]' $@
|
||||
|
||||
$(BUILDDIR)/%.js: %.ts
|
||||
tsc --strict --noUncheckedIndexedAccess --noEmitOnError \
|
||||
--lib dom,es2021 --target es2015 \
|
||||
--outDir $(dir $@) $^
|
||||
|
||||
|
||||
clean:
|
||||
$(RM) -r $(TMPDIR) $(BUILDDIR)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue