diff --git a/.gitignore b/.gitignore index 85042ac..c2110b0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ editor +tmp.txt diff --git a/Makefile b/Makefile index 7571f02..9f93489 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ endif build_and_run: clean build run -.PHONY : build_and_run build run clean test +.PHONY : build_and_run build run clean testfile build : @echo "-> Building" @@ -25,7 +25,7 @@ clean : @echo "-> Cleaning up" @-rm editor -test : +testfile : @echo -e "-> Generating test file" @echo -e "This is a line.\nThis is another line.\n\n\nThis is the end." > tmp.txt @$(CAT) tmp.txt diff --git a/README.md b/README.md index a903908..70be647 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,9 @@ This project is in VERY early stages and you could very likely destroy any file git clone https://github.com/leothelocust/led.git cd led/ make testfile - make - + make build + ./editor tmp.txt + ## Supported Key Bindings |Key Binding|Action|