29 lines
		
	
	
		
			637 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			637 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
# show all commands
 | 
						|
default:
 | 
						|
  just --list --unsorted
 | 
						|
 | 
						|
# assemble spoiler free markdown
 | 
						|
assemble-nospoilers:
 | 
						|
  lua lib/main.lua
 | 
						|
 | 
						|
# build player-facing html
 | 
						|
public:
 | 
						|
  pandoc -f markdown+autolink_bare_uris \
 | 
						|
    -t html \
 | 
						|
    --standalone \
 | 
						|
    --toc \
 | 
						|
    --metadata title="BASEMENT QUEST" \
 | 
						|
    -H includes/styles.html \
 | 
						|
    src/basementquest.md > www/basementquest.html
 | 
						|
 | 
						|
# build referee-facing html
 | 
						|
spoilers:
 | 
						|
  cat src/basementquest.md src/spoilers.md |\
 | 
						|
  pandoc -f markdown+autolink_bare_uris \
 | 
						|
    -t html \
 | 
						|
    --standalone \
 | 
						|
    --toc \
 | 
						|
    --metadata title="BASEMENT QUEST" \
 | 
						|
    -H includes/styles.html \
 | 
						|
    > www/spoilers.html
 |