Skip to content

Commit

Permalink
chore: remove docs/node_modules altogether
Browse files Browse the repository at this point in the history
  • Loading branch information
icyphox committed Feb 14, 2022
1 parent af61add commit c98208c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,13 @@ docs/cli:
node_modules: package.json Makefile
npm ci

docs/node_modules:
cd docs; npm ci

.bin/golangci-lint: Makefile
bash <(curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh) -d -b .bin v1.28.3

.bin/hydra: Makefile
bash <(curl https://raw.githubusercontent.com/ory/hydra/master/install.sh) -d -b .bin v1.9.0-alpha.1

.PHONY: docs
docs: docs/node_modules
cd docs; npm run build

.PHONY: lint
lint: .bin/golangci-lint
Expand Down Expand Up @@ -130,7 +125,7 @@ quickstart-dev:

# Formats the code
.PHONY: format
format: .bin/goimports docs/node_modules node_modules
format: .bin/goimports node_modules
goimports -w -local github.com/ory .
cd docs; npm run format
npm run format
Expand Down

0 comments on commit c98208c

Please sign in to comment.