-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: don't globally install npm packages (#35)
- Loading branch information
1 parent
ba33b25
commit faa459f
Showing
3 changed files
with
483 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
Oops, something went wrong.