Skip to content

Commit

Permalink
get font dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisns committed May 29, 2024
1 parent 9b51852 commit 76911e0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
secrets.yaml
.esphome
build
build
*.ttf
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ end

desc "Build/Compile with esphome"
task :build do
sh '[ ! -f "lexis.ttf" ] && wget -L -O "lexis.ttf" "https://github.com/damianvila/font-lexis/raw/main/fonts/lexis.ttf" || true'
sh "esphome compile childrensclock.yaml"
end
5 changes: 5 additions & 0 deletions childrensclock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@ esphome:
name: childrensclock
platform: ESP32
board: esp32dev
name_add_mac_suffix: true
includes:
- src/childrensclock.h
project:
name: chrisns.childrens-clock
version: 0.0.1


ota:

Expand Down

0 comments on commit 76911e0

Please sign in to comment.