Add nix-shell tools, fix circleci, resolves #322

This commit is contained in:
Wolfgang Walther
2020-11-29 23:54:48 +01:00
committed by Wolfgang Walther
parent ea2e166aa1
commit b83ee94fae
7 changed files with 176 additions and 94 deletions
+33
View File
@@ -0,0 +1,33 @@
version: 2.1
jobs:
build:
docker:
- image: nixos/nix:2.3
steps:
- checkout
- run:
name: Install build script
command: nix-env -f default.nix -iA build
- run:
name: Build docs
command: postgrest-docs-build
spellcheck:
docker:
- image: nixos/nix:2.3
steps:
- checkout
- run:
name: Install spellcheck script
command: nix-env -f default.nix -iA spellcheck
- run:
name: Run spellcheck
command: postgrest-docs-spellcheck
workflows:
check:
jobs:
- build
- spellcheck