From c4ca2f9ea3545811f9ba63f82ea7c3cbd4b69600 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Fri, 9 Oct 2015 08:54:24 +0100 Subject: [PATCH 1/3] mention lsb_release --- pages/common/uname.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/common/uname.md b/pages/common/uname.md index 4da2a53587..d27a4600cf 100644 --- a/pages/common/uname.md +++ b/pages/common/uname.md @@ -2,6 +2,8 @@ > Print details about the current machine and the operating system running on it +> Note: If you're on Linux, try also the `lsb_release` command. + - Print hardware-related information: machine and processor `uname -mp` From c47f8343118e9f90cd085c4e4d601d4b6fe46afd Mon Sep 17 00:00:00 2001 From: Igor Shubovych Date: Sun, 6 Dec 2015 18:36:44 +0200 Subject: [PATCH 2/3] Optimize make lint task --- .travis.yml | 2 +- Makefile | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9b41005dfd..d5387571b4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ gemfile: - Gemfile script: -- make check +- make lint after_success: - bash scripts/build.sh diff --git a/Makefile b/Makefile index a778389c2b..ae83325c33 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -default: check +default: lint all: setup index @@ -17,13 +17,10 @@ deps: @bundle @echo "OK" -check: - @bundle exec mdl --style ./scripts/markdown-style.rb pages - lint: - @GEM_PATH=.gem find pages -exec mdl {} --style ./scripts/markdown-style.rb 1>&2 \; + @bundle exec mdl --style ./scripts/markdown-style.rb pages lint-changed: @./scripts/lint-changed.sh -.PHONY: index setup hooks deps lint lint-changed +.PHONY: default index setup hooks deps lint lint-changed From f3b5a63f0e3aa85745ba76b8236d99b0c513b284 Mon Sep 17 00:00:00 2001 From: Igor Shubovych Date: Mon, 7 Dec 2015 03:51:25 +0200 Subject: [PATCH 3/3] Fix linting --- pages/common/uname.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/common/uname.md b/pages/common/uname.md index d27a4600cf..4fe43c359f 100644 --- a/pages/common/uname.md +++ b/pages/common/uname.md @@ -1,7 +1,6 @@ # uname -> Print details about the current machine and the operating system running on it - +> Print details about the current machine and the operating system running on it. > Note: If you're on Linux, try also the `lsb_release` command. - Print hardware-related information: machine and processor