(PowerShell is installed by default on Windows 7 SP1 and Windows Server 2008 R2 S1 and later, and cmd.exe is quite fiddly, so PowerShell is recommended for most Windows users.) Packages Operating System For example, to use PowerShell, launch just with -shell powershell.exe -shell-arg -c. You can also set the shell using command-line arguments. # use cmd.exe instead of sh: set shell := If you'd rather not install sh, you can use the shell setting to use the shell of your choice. On Windows, just works with the sh provided by Git for Windows, GitHub Desktop, or Cygwin. Just should run on any system with a reasonable sh, including Linux, MacOS, and the BSDs. Feature requests and bug reports are always welcome! Installation Prerequisites If you need help with just please feel free to open an issue or ping me on Discord. Just can be invoked from any subdirectory, not just the directory that contains the justfile. Recipes can be written in arbitrary languages, like Python or NodeJS. Recipes can be listed from the command line.Ĭommand line completion scripts are available for most popular shells. env files, making it easy to populate environment variables. Unknown recipes and circular dependencies are reported before anything runs. Wherever possible, errors are resolved statically. Recipes can accept command line arguments. (Although if your system doesn't have an sh, you'll need to choose a different shell.)Įrrors are specific and informative, and syntax errors are reported along with their source context. Linux, MacOS, and Windows are supported with no additional dependencies. Just is a command runner, not a build system, so it avoids much of make's complexity and idiosyncrasies. Just has a ton of useful features, and many improvements over make:
0 Comments
Leave a Reply. |