diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df0006d7..92557e7f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: cache: npm - run: npm ci - run: npm run lint - - run: npm run build-all + - run: npm run build -- specs specs-ietf: runs-on: ubuntu-latest diff --git a/README.md b/README.md index e68f7b0c..8328f069 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,8 @@ Labels are assigned based on [Sensible Github Labels](https://github.com/Releque ## Authoring and Building ### Specification -To build the spec files to HTML from the Markdown sources, run `npm run -build-all`. You can also build each individually with `npm run build -- +To build all the spec files to HTML from the Markdown sources, run `npm run +build -- specs`. You can also build each individually with `npm run build -- specs/filename.md` (Example: `npm run build -- specs/jsonschema-core.md`). You can also use wildcards to build multiple specs at the same time: `npm run build -- specs/jsonschema-*.md`. The HTML files will be available in the `web` folder. diff --git a/package.json b/package.json index f979a1a4..59d407d3 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,6 @@ "main": "index.js", "scripts": { "lint": "eslint . ; remark --no-stdout --frail specs/", - "build-all": "remark --rc-path specs/.remarkrc-build.js --output web/ specs/", "build": "remark --rc-path specs/.remarkrc-build.js --output web/" }, "license": "MIT",