-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (26 loc) · 892 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# For additional usage doc, see: https://jekyllrb.com/docs/usage/
setup:
# The script below is incomplete
# ...
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# brew install chruby ruby-install xz
# ruby-install ruby 3.1.3
# echo "source $(brew --prefix)/opt/chruby/share/chruby/chruby.sh" >> ~/.zshrc
# echo "source $(brew --prefix)/opt/chruby/share/chruby/auto.sh" >> ~/.zshrc
# echo "chruby ruby-3.1.3" >> ~/.zshrc
# ruby -v
bundle install
# gem install jekyll
# bundle install --gemfile=jekyll
# Install modules required for generating yaml files:
pwsh -Command Install-Module -Name powershell-yaml -Confirm
buildyaml:
pwsh ./_scripts/gen-episodes-yaml.ps1
exit
build:
bundle exec jekyll build
clean:
bundle exec jekyll clean
run:
bundle exec jekyll serve --livereload
# => Now browse to http://127.0.0.1:4000/