feat: build static lib from go-enry vendored subtree

This commit is contained in:
Roberto Alsina 2024-09-04 17:16:24 -03:00
parent e44f64a7df
commit 238a2115b3
2 changed files with 13 additions and 0 deletions

1
.gitignore vendored
View File

@ -12,3 +12,4 @@ venv/
.croupier .croupier
coverage/ coverage/
run_tests run_tests
src/libenry.*

View File

@ -12,6 +12,7 @@ tasks:
- Hacefile.yml - Hacefile.yml
- lexers/*xml - lexers/*xml
- styles/*xml - styles/*xml
- go-enry
outputs: outputs:
- bin/{{NAME}} - bin/{{NAME}}
commands: | commands: |
@ -113,3 +114,14 @@ tasks:
kcov --clean --include-path=./src ${PWD}/coverage ./bin/run_tests kcov --clean --include-path=./src ${PWD}/coverage ./bin/run_tests
outputs: outputs:
- coverage/index.html - coverage/index.html
go-enry:
cwd: go-enry
dependencies:
- go-enry
outputs:
- src/libenry.a
- src/libenry.h
commands: |
make static
cp .shared/* ../src