generated from tarleb/lua-filter-template
-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
3 changed files
with
17 additions
and
2 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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Use perevir to run the test | ||
test: test/perevirka.md | ||
perevir $< | ||
pandoc-lua test/perevir $< | ||
|
||
# Ensure that the `test` target is run each time it's called. | ||
.PHONY: test |
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,10 @@ | ||
#!/usr/bin/env pandoc-lua | ||
--- perevir – a test tool for pandoc transformations. | ||
-- | ||
-- Copyright: © 2024 Albert Krewinkel <[email protected]> | ||
-- License: MIT | ||
|
||
local perevir = require 'perevir' | ||
|
||
local opts = perevir.parse_args(arg) | ||
perevir.do_checks(opts) |