-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
1,559 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
gen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
.DEFAULT_GOAL := help | ||
|
||
NPM_PATH := node_modules/.bin | ||
|
||
REVEAL_BIN := $(NPM_PATH)/reveal-md | ||
REVEAL_OPTS := | ||
REVEAL_TARGET := main.md | ||
REVEAL_SOURCES := $(REVEAL_TARGET) style.css | ||
|
||
REVEAL := $(REVEAL_BIN) $(REVEAL_TARGET) $(REVEAL_OPTS) | ||
|
||
# Porcelain | ||
# ############### | ||
.PHONY: ci build lint setup | ||
|
||
serve: setup ## show presentation in local browser | ||
$(REVEAL) -w | ||
|
||
ci: setup lint build ## run all tests and build all artifacts | ||
@echo "Not implemented"; false | ||
|
||
build: setup ## create artifact | ||
$(REVEAL) --static dist | ||
|
||
lint: ## run static analysis | ||
@echo "Not implemented"; false | ||
|
||
|
||
# Plumbing | ||
# ############### | ||
.PHONY: setup | ||
|
||
setup: node_modules | ||
|
||
|
||
node_modules: | ||
yarn install --frozen-lockfile --ignore-engines | ||
|
||
# Utilities | ||
# ############### | ||
.PHONY: help | ||
help: ## print this message | ||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"dependencies": { | ||
"reveal-md": "^5.1.3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"theme": "moon", | ||
"highlight-theme": "github", | ||
"css": "style.css", | ||
"separator": "<!--s-->", | ||
"verticalSeparator": "<!--v-->" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"transition": "slide" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.reveal code | ||
{ | ||
font-family: 'Source Code Pro'; | ||
} | ||
|
||
blockquote | ||
{ | ||
width: 90% !important; | ||
} |
Oops, something went wrong.