Skip to content

Commit

Permalink
Update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoeders committed Jan 9, 2025
1 parent 8246756 commit d11165d
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
build:
build: install
bundle exec jekyll build

serve:
bundle exec jekyll serve
serve: install
bundle exec jekyll serve --livereload

# deploy:
# bundle exec jekyll build
# ssh byu-domains "rm -rf public_html/courses/ecen625/*"
# scp -r _site/* byu-domains:public_html/courses/ecen625/

develop_docker:
docker run --rm --volume="$$PWD:/srv/jekyll" -p 4000:4000 -p 35729:35729 -it jekyll/jekyll:4.0 jekyll serve --livereload

build_docker:
docker run --rm --volume="$$PWD:/srv/jekyll" -it jekyll/jekyll:4.0 jekyll build
install:
bundle install

check_links: build
bundle exec htmlproofer --swap-urls "^\/ecen625:" --allow_missing_href=true --ignore-status-codes "0,200,301" ./_site
Expand Down

0 comments on commit d11165d

Please sign in to comment.