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
22 changed files
with
565 additions
and
487 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,16 @@ | ||
name: l3build | ||
on: | ||
push: | ||
branches: master | ||
pull_request: | ||
branches: master | ||
jobs: | ||
l3build: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: teatimeguest/setup-texlive-action@v2.4.1 | ||
with: | ||
package-file: DEPENDS.txt | ||
packages: scheme-basic xetex libertine l3build | ||
- run: l3build check -q --show-log-on-error |
This file was deleted.
Oops, something went wrong.
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,10 @@ | ||
.DS_Store | ||
target/ | ||
build/ | ||
_minted-* | ||
*.glo | ||
*.sty | ||
*.tex | ||
*.zip | ||
*.toc | ||
|
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,18 +1,20 @@ | ||
docker: | ||
image: yegor256/rultor-image:1.12.3 | ||
image: yegor256/rultor-image:1.13.0 | ||
install: |- | ||
sudo apt-get install -y python3-pygments | ||
sudo pip3 install pygments | ||
sudo tlmgr option repository ctan | ||
sudo gem install texsc:0.6.0 | ||
sudo gem install texqc:0.6.0 | ||
sudo apt-get install -y aspell | ||
sudo tlmgr option repository ctan | ||
sudo tlmgr --verify-repo=none update --self | ||
sudo tlmgr --verify-repo=none install l3build | ||
sudo tlmgr --verify-repo=none install libertine minted fvextra framed tcolorbox environ catchfile xstring xkeyval | ||
merge: | ||
script: |- | ||
l3build check | ||
release: | ||
script: |- | ||
make VERSION=${tag} set-version | ||
l3build tag ${tag} | ||
l3build ctan | ||
texsc | ||
texqc | ||
git commit -am "version set to ${tag}" | ||
make | ||
echo 'y' | l3build upload --halt-on-error |
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 @@ | ||
hard shellesc | ||
hard pgfkeys | ||
hard xkeyval |
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,20 +1,34 @@ | ||
module = "ffcode" | ||
ctanupload = true | ||
typesetopts = "--interaction=batchmode --shell-escape" | ||
checkopts = "--interaction=batchmode --shell-escape" | ||
tagfiles = {"build.lua", "ffcode.dtx"} | ||
dynamicfiles = {"_minted-*"} | ||
checkengines = {"pdftex"} | ||
|
||
uploadconfig = { | ||
pkg = "ffcode", | ||
version = "0.0.0", | ||
author = "Yegor Bugayenko", | ||
uploader = "Yegor Bugayenko", | ||
email = "yegor256@gmail.com", | ||
note = "Bug fixes", | ||
announcement = "Some non-critical bug fixes", | ||
announcement = "", | ||
ctanPath = "/macros/latex/contrib/ffcode", | ||
bugtracker = "https://github.com/yegor256/ffcode/issues", | ||
home = "https://github.com/yegor256/ffcode", | ||
description = "This LaTeX package helps you write source code in your academic papers and make sure it looks neat. It uses minted and tcolorbox, configuring them the right way, to make sure code fragments and code blocks look nicer.", | ||
development = "https://github.com/yegor256/ffcode", | ||
home = "", | ||
description = "This LaTeX package helps you write source code in your academic papers and make it looks neat. It uses minted and tcolorbox, configuring them the right way, to ensure that code fragments and code blocks look nicer.", | ||
development = "", | ||
license = "mit", | ||
summary = "Fixed-font code blocks formatted nicely", | ||
repository = "https://github.com/yegor256/ffcode", | ||
support = "https://github.com/yegor256/ffcode", | ||
topic = "verbatim" | ||
} | ||
support = "", | ||
topic = {"line-nos", "listing", "verbatim"} | ||
} | ||
|
||
function update_tag(file, content, tagname, tagdate) | ||
return string.gsub( | ||
string.gsub(content, "0%.0%.0", tagname), | ||
"00%.00%.0000", os.date("%d.%m.%Y") | ||
) | ||
end |
Oops, something went wrong.