This commit is contained in:
Mylloon 2024-10-22 13:14:40 +02:00
parent 96a60c8ac4
commit e1a5fdfbb4
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -1,7 +1,9 @@
PASTE = xclip -o
CAT = bat -pp CAT = bat -pp
ENTRY = test ENTRY = test
LIMIT = 5
all: main all: main
@ -12,11 +14,11 @@ clear:
clear clear
pastefile: pastefile:
xclip -o > $(ENTRY).ept $(PASTE) > $(ENTRY).ept
eval: eval:
# todo: don't crash on ^Z # todo: don't crash on ^Z
hept -ts p $(ENTRY).ept hept -ts p -m $(LIMIT) $(ENTRY).ept
print: print:
heptc -i -target c $(ENTRY).ept heptc -i -target c $(ENTRY).ept