less verbose build
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Cadey Ratio 2020-05-06 11:56:32 -04:00
parent e3c222bf94
commit 03ce3d3882
2 changed files with 7 additions and 8 deletions

View File

@ -20,23 +20,22 @@ let
]; ];
buildPhase = '' buildPhase = ''
cp -vrf $src/src . cp -rf $src/src .
cp -vrf $src/book.toml . cp -rf $src/book.toml .
mkdir book mkdir book
mdbook build mdbook build
ls -la ./book
cd ./src && ./build.sh && cd .. cd ./src && ./build.sh && cd ..
cd ./book && kindlegen lewa.epub ||: && cd .. cd ./book && kindlegen lewa.epub ||: && cd ..
''; '';
installPhase = '' installPhase = ''
mkdir -p $out mkdir -p $out
cp -vrf book $out/book cp -rf book $out/book
''; '';
}; };
in pkgs.dockerTools.buildLayeredImage { in pkgs.dockerTools.buildLayeredImage {
name = "xena/lewa-book"; name = "xena/lewa-book";
tag = version; tag = version;
contents = [ book nur.repos.xe.quickserv ]; contents = [ nur.repos.xe.quickserv book ];
config.Cmd = [ "/bin/quickserv" "-port=9001" "-dir=/book" ]; config.Cmd = [ "/bin/quickserv" "-port=9001" "-dir=/book" ];
} }

View File

@ -2,6 +2,6 @@
The following is the eBook edition of L'ewa: A Personal Language. The following is the eBook edition of L'ewa: A Personal Language.
- [ePub (iBooks)](./lewa.epub) - [ePub (iBooks)](../lewa.epub)
- [Kindle](./lewa.mobi) - [Kindle](../lewa.mobi)
- [PDF](./lewa.pdf) - [PDF](../lewa.pdf)