-
Notifications
You must be signed in to change notification settings - Fork 447
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: lake: detection of custom Lake build dir
- Loading branch information
Showing
6 changed files
with
53 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/- | ||
Copyright (c) 2022 Mac Malone. All rights reserved. | ||
Released under Apache 2.0 license as described in the file LICENSE. | ||
Authors: Mac Malone | ||
-/ | ||
namespace Lake | ||
|
||
/-- | ||
The default directory to output Lake-related files | ||
(e.g., build artifacts, packages, caches, etc.). | ||
Currently not configurable. | ||
-/ | ||
def defaultLakeDir : FilePath := ".lake" | ||
|
||
/-- The default setting for a `WorkspaceConfig`'s `packagesDir` option. -/ | ||
def defaultPackagesDir : FilePath := "packages" | ||
|
||
/-- The default name of the Lake configuration file (i.e., `lakefile.lean`). -/ | ||
def defaultConfigFile : FilePath := "lakefile.lean" | ||
|
||
/-- The default name of the Lake manifest file (i.e., `lake-manifest.json`). -/ | ||
def defaultManifestFile := "lake-manifest.json" | ||
|
||
/-- The default build directory for packages (i.e., `.lake/build`). -/ | ||
def defaultBuildDir : FilePath := defaultLakeDir / "build" | ||
|
||
/-- The default Lean library directory for packages. -/ | ||
def defaultLeanLibDir : FilePath := "lib" | ||
|
||
/-- The default native library directory for packages. -/ | ||
def defaultNativeLibDir : FilePath := "lib" | ||
|
||
/-- The default binary directory for packages. -/ | ||
def defaultBinDir : FilePath := "bin" | ||
|
||
/-- The default IR directory for packages. -/ | ||
def defaultIrDir : FilePath := "ir" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters