|
# Package
|
|
|
|
version = "1.0.0"
|
|
author = "molodetz"
|
|
description = "Render images in the terminal — kitty, sixel, iTerm2, halfblock, and quarterblock protocols"
|
|
license = "MIT"
|
|
srcDir = "src"
|
|
|
|
# Dependencies
|
|
|
|
requires "nim >= 2.0.0"
|
|
|
|
# Tasks
|
|
|
|
task test, "Run the test suite":
|
|
exec "nim c --path:src -r tests/test_termimg.nim"
|
|
|
|
task example, "Run the demo program":
|
|
exec "nim c --path:src -r examples/demo.nim"
|
|
|
|
task check, "Type-check all source files":
|
|
exec "nim check --path:src src/termimg.nim"
|
|
exec "nim check --path:src tests/test_termimg.nim"
|
|
exec "nim check --path:src examples/demo.nim"
|