Skip to content

Commit

Permalink
add book sample
Browse files Browse the repository at this point in the history
  • Loading branch information
tib committed Jan 21, 2024
1 parent 821a8ab commit 6cea04b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2015 Tibor Bödecs
Copyright (c) 2015-2024 Tibor Bödecs

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
build:
toucan generate ./src ./docs

watch:
toucan watch ./src ./docs --base-url /

serve:
LOG_LEVEL=notice toucan serve

# brew install optipng jpegoptim

png:
find ./src/* -type f -name '*.png' -exec optipng -o7 {} \;

jpg:
find ./* -type f -name '*.jpg' | xargs jpegoptim --all-progressive '*.jpg'
Binary file not shown.
Binary file not shown.

0 comments on commit 6cea04b

Please sign in to comment.