Commit Graph

29 Commits

Author SHA1 Message Date
60488127e5 detect unknown files in build dir 2022-01-13 21:12:35 +01:00
2cad289b32 fix bug 2022-01-13 21:02:47 +01:00
f5a5ad6328 implement option to prune old files in build directory 2022-01-13 20:56:09 +01:00
f8a6f83de9 ensure file integrity for tex formatters 2022-01-13 20:04:18 +01:00
785eb6923f use paths relative to source / build dir and add md5sum into build info 2022-01-13 19:24:07 +01:00
4e7ea6fd14 write relative file names in build info 2022-01-13 15:33:16 +01:00
026e3a6cb3 adapt to multiple output files per input file in build info 2022-01-12 22:30:10 +01:00
1df567da82 add custom PyTeX exceptions to be thrown and catched during build to prevent ugly python error messaged 2022-01-12 21:35:47 +01:00
d1806d970f Merge branch 'master' of gitlab.com:latexci/packages/PyTeX 2022-01-11 21:37:42 +01:00
c8deda5af8 add support for latex3 files 2022-01-11 18:55:18 +01:00
5e077e77d8 correct header when formatting dictionaries 2022-01-09 14:21:50 +01:00
99c984049c add dictionary formatter for translation package 2022-01-09 14:15:28 +01:00
9bf3daa352 use faster git describe method from GitPython instead 2022-01-09 12:27:00 +01:00
e55a6728a9 fix handling extra header correctly 2021-12-17 15:34:59 +01:00
4c5efa4087 fix error when header is empty
catch case of empty header to not crash
2021-12-17 15:26:28 +01:00
315e3647ab handle package naming style
Option --name can now be set to either
    raw or prepend-author
    this controls the derivation of the name
    of the formatted package from the source
    file read in.
2021-12-17 15:09:04 +01:00
126d420b7a handle header correctly, i.e. do not only expand on macro 2021-10-22 19:29:23 +02:00
12a03e7989 add parser file for building 2021-10-22 14:52:10 +02:00
4c3867e0f4 refactor files into better module structure 2021-10-22 14:45:32 +02:00
de10ca7546 also build when last build of file has been dirty 2021-10-22 13:56:09 +02:00
f0c32260fa fix some bugs 2021-10-22 13:51:31 +02:00
96f2608751 check if PyTeX is dirty, implement incremental build 2021-10-22 13:39:56 +02:00
e6018a89c8 fix mistake with header type 2021-10-22 13:39:29 +02:00
408a154548 pass more attributes to TexFileToFormat class, write dirty / recent information into build file 2021-10-22 12:56:00 +02:00
c24eb9cd25 fix bugs: correctly diff against working tree or other commits now. add documentation for recent method 2021-10-22 12:55:15 +02:00
7b277ad8b6 integrate some more options. forward arguments to file formatter 2021-10-22 11:58:56 +02:00
cf3edf33c4 write and read in build information in json format 2021-10-22 10:57:16 +02:00
b44af744b0 retrieve repositories 2021-10-22 10:12:28 +02:00
90acc2baf7 add build scripts 2021-10-22 10:01:33 +02:00