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 = ''
cp -vrf $src/src .
cp -vrf $src/book.toml .
cp -rf $src/src .
cp -rf $src/book.toml .
mkdir book
mdbook build
ls -la ./book
cd ./src && ./build.sh && cd ..
cd ./book && kindlegen lewa.epub ||: && cd ..
'';
installPhase = ''
mkdir -p $out
cp -vrf book $out/book
cp -rf book $out/book
'';
};
in pkgs.dockerTools.buildLayeredImage {
name = "xena/lewa-book";
tag = version;
contents = [ book nur.repos.xe.quickserv ];
contents = [ nur.repos.xe.quickserv 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.
- [ePub (iBooks)](./lewa.epub)
- [Kindle](./lewa.mobi)
- [PDF](./lewa.pdf)
- [ePub (iBooks)](../lewa.epub)
- [Kindle](../lewa.mobi)
- [PDF](../lewa.pdf)