Skip to content

Commit

Permalink
Remove nodejs dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
bertfrees committed Nov 12, 2024
1 parent 44a3875 commit 6bb48dd
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -194,15 +194,8 @@ $(MAVEN_DIR)/pom.xml : $(JEKYLL_SRC_DIR)/_data/versions.yml $(JEKYLL_SRC_DIR)/_d
fi

.PHONY : serve
serve : ws all
ws -d $(CURDIR)/$(JEKYLL_DIR)/_site

.PHONY : ws
ws :
@if ! which $@ >/dev/null 2>/dev/null; then \
echo "ws is not installed, install with 'npm install -g local-web-server'" 2>&1; \
exit 1; \
fi
serve : all
ruby -r webrick -e "s = WEBrick::HTTPServer.new(:Port => 8080, :DocumentRoot => '$(CURDIR)/$(JEKYLL_DIR)/_site'); trap('INT') { s.shutdown }; s.start"

.PHONY : publish
publish : all
Expand Down

0 comments on commit 6bb48dd

Please sign in to comment.