From 48d8defddd47cbd3f0b6eb66e3a7cb3a9c1e7393 Mon Sep 17 00:00:00 2001 From: Brad Nelson Date: Sun, 30 Jan 2022 10:49:22 -0800 Subject: [PATCH] Adding option to install and escape sheebang. --- ueforth/Makefile | 4 ++++ ueforth/common/boot.fs | 1 + 2 files changed, 5 insertions(+) diff --git a/ueforth/Makefile b/ueforth/Makefile index 3aa94fe..0648dab 100644 --- a/ueforth/Makefile +++ b/ueforth/Makefile @@ -404,3 +404,7 @@ $(DEPLOY)/app.yaml: $(RES)/eforth.ico \ deploy: all cd out/deploy && gcloud app deploy -q --project esp32forth *.yaml cd out/deploy && gcloud app deploy -q --project eforth *.yaml + +# ---- INSTALL ---- +install: $(POSIX)/ueforth + sudo cp $< /usr/bin/ueforth diff --git a/ueforth/common/boot.fs b/ueforth/common/boot.fs index 6c72c5b..3199451 100644 --- a/ueforth/common/boot.fs +++ b/ueforth/common/boot.fs @@ -1,5 +1,6 @@ : ( 41 parse drop drop ; immediate : \ 10 parse drop drop ; immediate +: #! 10 parse drop drop ; immediate \ Copyright 2021 Bradley D. Nelson \