Skip to content

Commit 98bda10

Browse files
committed
transpile ModulePresentationsForCAP v2025.06-02 using ansible
bump ModulePresentationsForCAP to v0.1.8
1 parent 674f359 commit 98bda10

File tree

8 files changed

+49
-15
lines changed

8 files changed

+49
-15
lines changed

.generate.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
# This script is autogenerated by Ansible to run the Julia package generation playbook.
4+
ansible-playbook -i ~/.gap/pkg/PackageJanitor/gap_to_julia/hosts ~/.gap/pkg/PackageJanitor/gap_to_julia/site.yml -l ModulePresentationsForCAP --diff "$@"

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.generate.sh

Project.toml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
name = "ModulePresentationsForCAP"
22
uuid = "80a941df-def7-4d99-bd07-d3a3a468fbfc"
33
authors = [
4-
"Sebastian Gutsche <sebastian.gutsche@gmail.com>",
5-
"Sebastian Posur <sebastian.posur@uni-muenster.de>",
6-
"Fabian Zickgraf <f.zickgraf@dashdos.com>",
4+
"Sebastian Gutsche <gutsche@mathematik.uni-siegen.de>",
5+
"Sebastian Posur <sebastian.posur@uni-siegen.de>",
6+
"Fabian Zickgraf <fabian.zickgraf@uni-siegen.de>"
77
]
8-
version = "0.1.7"
8+
9+
# Transpiled from GAP's ModulePresentationsForCAP v2025.06-02
10+
version = "0.1.8"
911

1012
[deps]
1113
MatricesForHomalg = "29b9b1b6-efa6-450e-8188-a5a2c25df071"
1214
CAP = "d64df2ee-d2bb-46f4-8cbc-f03bb858f8cb"
1315
MonoidalCategories = "bfd98c86-782f-4b94-909f-74167f1eb613"
1416
LinearAlgebraForCAP = "3dc4824f-14ac-4ab7-8a60-75dbcd4a9d60"
1517

18+
[weakdeps]
19+
20+
[extensions]
21+
1622
[compat]
1723
julia = "1.11"
1824
MatricesForHomalg = "0.1"
@@ -21,8 +27,8 @@ MonoidalCategories = "0.1, 0.2"
2127
LinearAlgebraForCAP = "0.1"
2228

2329
[extras]
24-
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
2530
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
31+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
2632

2733
[targets]
2834
test = ["Test", "Documenter"]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
<!-- END HEADER -->
1111

12-
This is the Julia version of the [CAP-based][CAP_project] package [ModulePresentationsForCAP][ModulePresentationsForCAP].
12+
This is the Julia version of the [CAP-based][CAP_based] package [ModulePresentationsForCAP][ModulePresentationsForCAP].
1313

14-
[CAP_project]: https://homalg-project.github.io/docs/CAP_project-based/
14+
[CAP_based]: https://homalg-project.github.io/docs/CAP_project-based/
1515
[ModulePresentationsForCAP]: https://homalg-project.github.io/pkg/ModulePresentationsForCAP
1616

1717
<!-- BEGIN FOOTER -->

docs/src/basic.tst.autogen.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
```jldoctest
3-
julia> using MatricesForHomalg; using CAP; using MonoidalCategories; using LinearAlgebraForCAP; using ModulePresentationsForCAP
3+
julia> using MatricesForHomalg, CAP, MonoidalCategories, LinearAlgebraForCAP, ModulePresentationsForCAP
44
55
julia> true
66
true

makefile

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,37 @@
11
.PHONY: test
22

3+
install:
4+
julia -e 'using Pkg; Pkg.develop(path=".");'
5+
6+
uninstall:
7+
julia -e 'using Pkg; Pkg.rm("ModulePresentationsForCAP");'
8+
9+
test:
10+
julia -e 'using Pkg; Pkg.test("ModulePresentationsForCAP");'
11+
312
gen:
4-
gap_to_julia ModulePresentationsForCAP
13+
rm -f ./src/gap/*.autogen.jl
14+
rm -f ./src/gap/*/*.autogen.jl
15+
rm -f ./docs/src/*.autogen.md
16+
./.generate.sh -e gen_full=0
517

6-
clean-gen:
18+
gen-full:
719
rm -f ./src/gap/*.autogen.jl
820
rm -f ./src/gap/*/*.autogen.jl
921
rm -f ./docs/src/*.autogen.md
10-
gap_to_julia ModulePresentationsForCAP
22+
./.generate.sh -e gen_full=1
1123

12-
test:
13-
julia -e 'using Pkg; Pkg.test("ModulePresentationsForCAP");'
24+
git-commit:
25+
@if [ -n "$$(git diff .)" ]; then \
26+
echo "Committing changes ..."; \
27+
git add .; \
28+
git commit \
29+
-m "Update to GAP's $$(grep "# Transpiled from GAP's" "Project.toml" | cut -d ' ' -f 5-)" \
30+
-m "Bump Version to v$$(grep "version = " "Project.toml" | cut -d '"' -f 2)" \
31+
; \
32+
else \
33+
echo "No changes to commit."; \
34+
fi
1435

1536
codecov:
1637
julia --project=. -e 'using Coverage; using Pkg; Pkg.test(coverage=true); LCOV.writefile("coverage.lcov", process_folder(pwd()));'

src/ModulePresentationsForCAP.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ using CAP
88

99
using MonoidalCategories
1010

11-
using LinearAlgebraForCAP # this is not a GAP dependency but needed for various declarations not (yet) part of MatricesForHomalg
11+
using LinearAlgebraForCAP
1212

1313
include("init.jl")
1414

test/runtests.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
using Test, Documenter, ModulePresentationsForCAP
2-
doctest(ModulePresentationsForCAP)
2+
3+
# test upto whitespaces
4+
doctest(ModulePresentationsForCAP; doctestfilters=[r"\s+" => ""])

0 commit comments

Comments
 (0)