David PHAM-VAN

Fix gh-pages build script

Showing 1 changed file with 2 additions and 1 deletions
@@ -256,10 +256,11 @@ ref: svg @@ -256,10 +256,11 @@ ref: svg
256 cd $@; curl -OL 'https://www.adobe.com/content/dam/acom/en/devnet/pdf/adobe_supplement_iso32000.pdf' 256 cd $@; curl -OL 'https://www.adobe.com/content/dam/acom/en/devnet/pdf/adobe_supplement_iso32000.pdf'
257 cd $@; curl -OL 'https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/pdf_reference_1-7.pdf' 257 cd $@; curl -OL 'https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/pdf_reference_1-7.pdf'
258 258
259 -gh-pages: 259 +gh-pages: all
260 cd demo; flutter build web 260 cd demo; flutter build web
261 git checkout gh-pages 261 git checkout gh-pages
262 rm -rf assets icons 262 rm -rf assets icons
263 mv -fv demo/build/web/* . 263 mv -fv demo/build/web/* .
  264 + sed -e 's|<base href="/">|<base href="/dart_pdf/">|' -i index.html
264 265
265 .PHONY: test format format-dart format-clang clean publish-pdf publish-printing analyze ref 266 .PHONY: test format format-dart format-clang clean publish-pdf publish-printing analyze ref