-
Notifications
You must be signed in to change notification settings - Fork 498
Feature Ideas
Casey Rodarmor edited this page May 13, 2017
·
6 revisions
These are things which might be cool, but are still in the fuzzy idea stage.
String variables whose values are files and paths are common in justfiles.
It might be nice to provide better support for this. Some ideas:
-
path(string)
constructor for building paths. Should maybe call out that this will perform the conversion according to the environment, likepath_from_windows()
,path_from_unix()
, andpath_from_local()
- A
/
operator for joining path components. Don't need to worry if one part already has a/
- Abstract over
/
and\
separated paths so it works on both windows and unix - Provide some useful functions that operate on paths, such as converting to an absolute path, popping off a path component, and the like
- A
.
variable which is the directory that contains the justfile - A
justfile
variable which is the path to the justfile - Perhaps also a
file(string)
function which throws an error if there is a path component