Skip to content

Commit

Permalink
chore: don't globally install npm packages (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
lemeurherve authored May 3, 2024
1 parent ba33b25 commit faa459f
Show file tree
Hide file tree
Showing 3 changed files with 483 additions and 60 deletions.
9 changes: 2 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,10 @@ ROOT_DIR=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
# Build everything after cleaning
all: clean ui antora

install:
npm i -g @antora/[email protected] @antora/[email protected]
npm i -g gulp
npm i -g http-server

# Rule to build the UI before building the docs
ui: install
ui:
@echo "Building UI"
cd $(ROOT_DIR)/ui && npm i && gulp bundle
cd $(ROOT_DIR)/ui && npm i && npx gulp bundle

# Rule to build the Antora documentation
antora:
Expand Down
Loading

0 comments on commit faa459f

Please sign in to comment.