less verbose build
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
e3c222bf94
commit
03ce3d3882
|
@ -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" ];
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue