[ cleanup ] A few more cleanups

This commit is contained in:
Kamil Shakirov 2021-10-25 13:52:26 +06:00
parent 15d5c78447
commit 47326767ac

View File

@ -41,16 +41,16 @@ outputDirWithDefault d = fromMaybe (build_dir d </> "exec") (output_dir d)
public export
toString : Dirs -> String
toString d@(MkDirs wdir sdir bdir ldir odir dfix edirs pdirs ldirs ddirs) = """
Working Directory: \{ wdir }
Source Directory: \{ show sdir }
Build Directory: \{ bdir }
Local Depend Directory: \{ ldir }
Output Directory: \{ (outputDirWithDefault d) }
Installation Prefix: \{ dfix }
Extra Directories: \{ show edirs }
Package Directories: \{ show pdirs }
CG Library Directories: \{ show ldirs }
Data Directories: \{ show ddirs }
+ Working Directory :: \{ wdir }
+ Source Directory :: \{ show sdir }
+ Build Directory :: \{ bdir }
+ Local Depend Directory :: \{ ldir }
+ Output Directory :: \{ outputDirWithDefault d }
+ Installation Prefix :: \{ dfix }
+ Extra Directories :: \{ show edirs }
+ Package Directories :: \{ show pdirs }
+ CG Library Directories :: \{ show ldirs }
+ Data Directories :: \{ show ddirs }
"""
public export