From 964c7b311560e8fde6bad4b6178faf0d46053bb5 Mon Sep 17 00:00:00 2001 From: Piper Chester Date: Sat, 8 Apr 2017 09:19:15 -0700 Subject: [PATCH] =?UTF-8?q?[Docs]=20README.markdown=20=E2=86=92=20README.m?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 2 +- Makefile | 2 +- README.markdown => README.md | 0 package.json | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename README.markdown => README.md (100%) diff --git a/.travis.yml b/.travis.yml index abc5825..7410561 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,7 +28,7 @@ install: - '[ -z "$WITHOUT_CURL" ] || sudo apt-get remove curl -y' script: - if [ -n "${MAKE_RELEASE-}" ]; then export GIT_EDITOR="sed -i '1 s/^/99.99.99 make release test/'" && git fetch --unshallow --tags && echo proceed | make TAG=99.99.99 release ; fi - - if [ -n "${DOCTOCCHECK-}" ]; then cp README.markdown README.markdown.orig && npm run doctoc && diff -q README.markdown README.markdown.orig ; fi + - if [ -n "${DOCTOCCHECK-}" ]; then cp README.md README.md.orig && npm run doctoc && diff -q README.md README.md.orig ; fi - if [ -n "${SHELLCHECK-}" ]; then shellcheck -s bash nvm.sh && shellcheck -s sh nvm.sh && shellcheck -s dash nvm.sh && shellcheck -s ksh nvm.sh ; fi - if [ -n "${SHELLCHECK-}" ]; then shellcheck -s bash install.sh bash_completion nvm-exec ; fi - if [ -n "${SHELL-}" ] && [ -n "${TEST_SUITE}" ]; then make TEST_SUITE=$TEST_SUITE URCHIN="$(npm bin)/urchin" test-$SHELL ; fi diff --git a/Makefile b/Makefile index ad307d7..da90819 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ ifeq ($(findstring /,$(URCHIN)),) # urchin path was NOT passed in. UTIL_CHECK := $(or $(shell PATH="$(PATH)" which $(UTILS) >/dev/null && echo 'ok'),$(error Did you forget to run `npm install` after cloning the repo? At least one of the required supporting utilities not found: $(UTILS))) endif # The files that need updating when incrementing the version number. -VERSIONED_FILES := nvm.sh install.sh README.markdown package.json +VERSIONED_FILES := nvm.sh install.sh README.md package.json # Define all shells to test with. Can be overridden with `make SHELLS=... `. SHELLS := sh bash dash zsh # ksh (#574) # Generate 'test-' target names from specified shells. diff --git a/README.markdown b/README.md similarity index 100% rename from README.markdown rename to README.md diff --git a/package.json b/package.json index b81c8e9..1ed7b8b 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "test/installation/node": "shell=$(basename -- $(ps -o comm= $(ps -o ppid= -p $PPID)) | sed 's/^-//'); make TEST_SUITE=installation_node test-$shell", "test/installation/iojs": "shell=$(basename -- $(ps -o comm= $(ps -o ppid= -p $PPID)) | sed 's/^-//'); make TEST_SUITE=installation_iojs test-$shell", "test/sourcing": "shell=$(basename -- $(ps -o comm= $(ps -o ppid= -p $PPID)) | sed 's/^-//'); make TEST_SUITE=sourcing test-$shell", - "doctoc": "doctoc --title='## Table of Contents' --github README.markdown" + "doctoc": "doctoc --title='## Table of Contents' --github README.md" }, "repository": { "type": "git",