From 128539e91488452ba4bc1ca051b8e0b6675e5bd9 Mon Sep 17 00:00:00 2001 From: David Elie-Dit-Cosaque Date: Thu, 27 Jul 2023 17:19:35 -0500 Subject: [PATCH] addressing comments from David R. --- .github/workflows/checkbuild.yml | 6 +++--- .gitignore | 2 +- Makefile | 2 +- html/build.js | 2 +- html/index.html | 2 +- html/results.html | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/checkbuild.yml b/.github/workflows/checkbuild.yml index 8265202..f9872bd 100644 --- a/.github/workflows/checkbuild.yml +++ b/.github/workflows/checkbuild.yml @@ -13,10 +13,10 @@ jobs: steps: - uses: actions/checkout@v2 - name: install nodejs - run: sudo apt-get update; sudo apt-get -y install nodejs npm; npm install inline-source + run: sudo apt-get update && sudo apt-get -y install nodejs npm && npm install inline-source - name: modify build sccript run: sed -i 's/results.html/test.html/g' html/build.js - name: generate test.html - run: cd html; node build.js + run: cd html && node build.js - name: compare results.html with test.html - run: cd html;diff results.html test.html \ No newline at end of file + run: cd html && diff results.html test.html diff --git a/.gitignore b/.gitignore index b512c09..3c3629e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -node_modules \ No newline at end of file +node_modules diff --git a/Makefile b/Makefile index 987b706..aa9ef04 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,2 @@ build: - cd html;node build.js + cd html && node build.js diff --git a/html/build.js b/html/build.js index 7b2c2c5..e5dbae2 100644 --- a/html/build.js +++ b/html/build.js @@ -13,4 +13,4 @@ inline.inlineSource(htmlFile, options) }) .catch((err) => { console.error('Error during build:', err); - }); \ No newline at end of file + }); diff --git a/html/index.html b/html/index.html index 1ed7235..1349470 100644 --- a/html/index.html +++ b/html/index.html @@ -160,4 +160,4 @@ - \ No newline at end of file + diff --git a/html/results.html b/html/results.html index d9bd27c..28db3f9 100644 --- a/html/results.html +++ b/html/results.html @@ -160,4 +160,4 @@ - \ No newline at end of file +