forked from FuelLabs/sway
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
forc: Add util
user_forc_directory
function (FuelLabs#809)
* forc: Add util `user_forc_directory` function This changes the `forc explorer` tool from using `.fuel` as its user directory to follow suit of `forc`'s dependency handling and use `.forc` instead. Path handling for both has also been fixed to theoretically better support windows (though I haven't tested). Both are now implemented in terms of the new `user_forc_directory` function. Closes FuelLabs#778. * Rename const to `USER_FORC_DIRECTORY`, use in shared helper fn Also refactors `forc_update` and `forc::utils::dependency` in terms of the updated `user_forc_directory` function.
- Loading branch information
1 parent
023a901
commit 323b4e1
Showing
6 changed files
with
48 additions
and
69 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
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