]> gitweb.fluxo.info Git - blog.git/commitdiff
Applying workaround since exclude patterns are not working
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 18 Feb 2022 21:59:41 +0000 (18:59 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 18 Feb 2022 21:59:41 +0000 (18:59 -0300)
Makefile.env
ikiwiki.yaml

index 32e66a1d850954eb6e9ac4df7c111632ffa7aeee..f41c74a7d8ef5e266a8dff623b5b67557a477a2e 100644 (file)
 HTTP_BASE = www
 
 web: jhead mat
+       @#echo Applying workaround since exclude patterns are not working...
+       @find vendor -name '*.md' -exec rm {} \;
+
        @ikiwiki --setup ikiwiki.yaml
 
+       @#echo Cleaning up...
+       git submodule foreach git restore .
+
 web_deploy:
        @rsync -avz --delete www/ blog:/var/sites/blog/www/
 
index 949c2cbe6ad65eb8f270219a3297a154e01b9f8a..0be37375f5f581fb4f59ea199869c685c74c889f 100644 (file)
@@ -99,6 +99,7 @@ ENV: {}
 # regexp of normally excluded files to include
 include: ^\.htaccess$
 # regexp of files that should be skipped
+#exclude: (^(www|drafts|vendor).*)
 exclude: (?^i:(www|drafts|vendor))
 # specifies the characters that are allowed in source filenames
 wiki_file_chars: -[:alnum:]+/.:_