~nabijaczleweli/klapki

ece9bd2abceb55ab211ef9bcd907993d9389b6f3 — наб a year ago 0a0e446
Poast to man branch and klapki-man
3 files changed, 29 insertions(+), 4 deletions(-)

M .build.yml
M Makefile
M README.md
M .build.yml => .build.yml +25 -0
@@ 1,10 1,14 @@
image: debian/sid
secrets:
  - f80b756a-e99e-4936-a62a-93c2c2c6dfd5  # klapki auth token
  - e43a6d41-a99b-44cb-8a7a-4d85ba72897b  # klapki SSH key
packages:
  - clang
  - libefivar-dev
  - libefiboot-dev
  - libssl-dev
  - ronn
  - curl
tasks:
  - build-gcc: |
      cd klapki


@@ 13,3 17,24 @@ tasks:
  - build-clang: |
      cd klapki
      CC=clang CXX=clang++ make
  - readme: |
      cd klapki
      set +x  # Avoid echoing the token
      curl -H "Content-Type: text/html"                      \
           -H "Authorization: Bearer $(cat ~/.readme-token)" \
           -XPUT --fail                                      \
           --data-binary @out/man/klapki.8.html_fragment     \
           'https://git.sr.ht/api/repos/klapki-man/readme' &&
      echo "README set"
  - manpages: |
      git -C klapki/ worktree add ../klapki-man man
      cd klapki-man
      git ls-tree -z --name-only HEAD | xargs -0 rm -r
      mv ../klapki/out/man/* .
      git add .
      git config user.email "nabijaczleweli/autouploader@nabijaczleweli.xyz"
      git config user.name "наб autouploader"
      git commit -m "Manpage update by job $JOB_ID"
      git remote set-url origin 'git@git.sr.ht:~nabijaczleweli/klapki'
      ssh-keyscan git.sr.ht > ~/.ssh/known_hosts
      git push

M Makefile => Makefile +1 -0
@@ 63,6 63,7 @@ $(subst $(MANDIR),$(OUTDIR)man/,$(MANPAGE_SOURCES)) : $(MANDIR)index.txt $(MANPA
	@rm -rf $(dir $@) && mkdir -p $(dir $@)
	cp $^ $(dir $@)
	ronn $@
	ronn -f $@


$(OBJDIR)%$(OBJ) : $(SRCDIR)%.cpp

M README.md => README.md +3 -4
@@ 1,12 1,11 @@
# klapki [![Licence](//img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE)
# klapki [![builds.sr.ht badge](//builds.sr.ht/~nabijaczleweli/klapki.svg)](https://builds.sr.ht/~nabijaczleweli/klapki) [![Licence](//img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE)
EFI boot manager; or, well, an EFI bootorder [compiler](//twitter.com/nabijaczleweli/status/1306144037070569472).

## [Manpage](//git.sr.ht/~nabijaczleweli/klapki/tree/trunk/man/klapki.md)
<!-- TODO: move this to autodeployed branch so it doesn't look like absolute shit -->
## [Manpage](//sr.ht/~nabijaczleweli/klapki)

### Building

You'll need `libssl-dev` and `libefi{var,boot}-dev`, and `make` should hopefully Just Work™.
You'll need `libssl-dev` and `libefi{var,boot}-dev`, and `make` should hopefully Just Work™ if you have a C++17-capable compiler.

### Installation