From 0bd241f6b956571b3ac1e68e0514f098fff92de8 Mon Sep 17 00:00:00 2001 From: Adrian Parker Date: Wed, 7 Mar 2018 14:03:29 -0500 Subject: [PATCH] Make example code more clear. --- README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b1b8e82..085443f 100644 --- a/README.md +++ b/README.md @@ -3,15 +3,23 @@ [![Build Status](https://travis-ci.org/ihsw/paint-reader.svg?branch=master)](https://travis-ci.org/ihsw/paint-reader) [![Coverage Status](https://coveralls.io/repos/github/ihsw/paint-reader/badge.svg?branch=master)](https://coveralls.io/github/ihsw/paint-reader?branch=master) -# Building +## Building This is application uses NPM for scripting and runs via node. $ git clone https://github.com/ihsw/paint-reader.git + Cloning into 'paint-reader'... + remote: Counting objects: 147, done. + remote: Compressing objects: 100% (76/76), done. + remote: Total 147 (delta 63), reused 128 (delta 46), pack-reused 0 + Receiving objects: 100% (147/147), 36.25 KiB | 1003.00 KiB/s, done. + Resolving deltas: 100% (63/63), done. + $ cd paint-reader $ npm install - $ npm run build + added 320 packages in 2.277s + $ npm run -s build + built $ cat ./test-fixtures/example-3-complex | node . - -This should output: `G M G G G`. + G M G G G Feel free to substitute the given example file for any other.