-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Init just
as command-line runner
#660
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #660 +/- ##
======================================
Coverage ? 66.64%
======================================
Files ? 308
Lines ? 9386
Branches ? 0
======================================
Hits ? 6255
Misses ? 3131
Partials ? 0 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works nicely. Just one question: Is there a wiki page on just in our wiki? I could not find one, but it would be really helpful.
I've added a section about how to install Just here in the Wiki. However, you're right it might be better to have a separate section for it for quick reference. I can then reference that section on the installation page. |
I've outsourced the section to this new section explaining how to install/update |
Note you can now run |
In this PR, we introduce support for the amazing
Just
command runner 🔥. This will allow us to specify frequently-used commands and have them available at our fingertips, e.g.just test cypress
.Installation
Warning
If you have previously installed a version of
just
on your system viaapt
, please remove it:sudo apt remove just
. This is because the version onapt
is too old and we want to have the latest features ofjust
available.Instead, I've added a script to
package.json
. Simply run:yarn just-install
. It will installjust
to~/bin
. Then reload your shell and you're good to go. As of today,just --version
should give1.29.1
.Note I've added a VSCode workspace extension recommendation, feel free to install it to get syntax highlighting in the
.justfile
s.Tip
just
modules are currently not stable yet, but will probably be in the next few days (casey announced the stabilization to happen on July 1st). For right now, executeexport JUST_UNSTABLE=1
in your shell before executing anyjust
command. This PR will only be merged once thejust
modules are stable.Usage
Run
just
to see available commands. Runjust test
etc. to see available commands for the submodules. Everything else should be self-explanatory, e.g. try outjust docker up -d
, thenjust docker shell db
.If you want to add your own commands, refer to the docs. It also has a search built-in.
TODOs