-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathMakefile
37 lines (28 loc) · 1003 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
33
34
35
36
37
## Settings
JEKYLL=bundle config --local set path .vendor/bundle && bundle install && bundle update && bundle exec jekyll
all : commands
## commands : show all commands.
commands :
@grep -E '^##' Makefile | sed -e 's/## //g'
## serve : run a local server.
serve :
${JEKYLL} serve --config _config.yml,_config_dev.yml --future
## site : build files but do not run a server.
site :
${JEKYLL} build
## install : install missing Ruby gems using bundle.
install :
bundle install
## lesson data : pull lesson data from GitHub
# (requires GitHub PAT provided via GITHUB_PAT env var)
data:
R -q -e "source('R/hpc-carpentry_lessons.R')"
## help-wanted: list of issues that have the label "help wanted"
R -q -e "source('R/help_wanted_issues.R')"
#-------------------------------------------------------------------------------
## clean : clean up junk files.
clean :
rm -rf _site
rm -rf .sass-cache
find . -name '*~' -exec rm {} \;
find . -name .DS_Store -exec rm {} \;