just
Module Linker


just | Module Linker | |
---|---|---|
194 | 1 | |
23,762 | 253 | |
3.8% | 0.8% | |
9.5 | 0.0 | |
7 days ago | over 3 years ago | |
Rust | JavaScript | |
Creative Commons Zero v1.0 Universal | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
just
-
Do-nothing scripting: the key to gradual automation (2019)
I’ve just switched to using just https://github.com/casey/just for my makefiles that were really just a collection of small snippets and it’s worked wonderfully
-
I'll think twice before using GitHub Actions again
theoretically we could also use https://just.systems/ or https://mise.jdx.dev/ instead of directly calling gh actions but I haven't tried gh actions personally yet , If its really the nightmare you are saying , then that's sad.
-
DoxyPress – Modern Doxygen
I use `just` - https://github.com/casey/just and have a `docs` task. That runs a bash script that does all the heavy lifting (python install, and so on).
Though given all the chatter on here in the last couple of weeks, I'd migrate some the python work to `uvx` and that would make things simpler again.
I'm don't know if doxygen easily supports 'incremental' builds for your use case. I've never really found completely re-building docs for my modest repos a bottleneck.
-
Static search trees: 40x faster than binary search
Well, I don't use makefiles to deploy software with Rust. I also have never used lex or yacc, but I bet there are similar tools in the ecosystem, or wrappers for those. That would obviate what I will offer below.
Often a new language in a project would define an application boundary. So those would be different containers or services. I may deploy via container images, or an OS specific installer, etc. If we aren't crossing an application boundary I may use FFI. Sometimes I use https://rust-lang.github.io/rust-bindgen/ to smooth that over for C dependencies. There is also a nice concept called a build.rs file: https://doc.rust-lang.org/cargo/reference/build-script-examp.... There's also tools like: https://github.com/casey/just and https://sagiegurari.github.io/cargo-make/
I rarely use multiple languages with Rust. A lot of interpreted languages have bindings through crates and can go in to a project through Cargo. If it involves JS/TS on desktop, I'm usually using Tauri for that. Guess it depends on the system?
Hopefully that helps. You can also still use a Makefile if you want I just haven't dealt with one in a long time.
-
Database mocks are just not worth it
I thought this was common knowledge and that it became even easier after Docker became a thing?
Mocks are wishful thinking incarnate most of the time, though here and there they are absolutely needed (like 3rd party APIs without sandbox environments, or quite expensive API, or most of the time: both).
Just pick a task runner -- I use just[0] -- and make a task that brings up both Docker and your containers, then run your test task, done. Sure it's a bit fiddly the first time around but I've seen juniors go beyond that in a day maximum and then your tests actually work with the real world 99% of the time.
Mocks in general are rarely worth it, the DB ones: 10x so.
[0] https://github.com/casey/just
-
Task Runners for Projects
just, stores tasks in a file similar to Makefile format, has CLI completion support and loads .env files
-
Just: Just a Command Runner
'Just' too was simple at the beginning [1], but with time and usage things always become more complex that some script you do for your own specific use-case.
[1]: https://github.com/casey/just/tree/v0.2.23
-
Mise: Dev tools, env vars, task runner
Justfile[0] was a more familiar makefiles replacement for me
[0]: https://github.com/casey/just
-
Pyqwe: The quick work environment for Python
Benefit is you can just type the command, no need to prepend pyqwe or anything.
See also justfile for a non-python specific tool https://github.com/casey/just
- Open source, learn in public e minha experiência
Module Linker
What are some alternatives?
cargo-make - Rust task runner and build tool.
cbindgen - A project for generating C bindings from Rust code
Task - A task runner / simpler Make alternative written in Go
rr - Record and Replay Framework
Taskfile - Repository for the Taskfile template.
gdbgui - Browser-based frontend to gdb (gnu debugger). Add breakpoints, view the stack, visualize data structures, and more in C, C++, Go, Rust, and Fortran. Run gdbgui from the terminal and a new tab will open in your browser.
cargo-xtask
rust-cross - Everything you need to know about cross compiling Rust programs!
cargo-release - Cargo subcommand `release`: everything about releasing a rust crate.
milksnake - A setuptools/wheel/cffi extension to embed a binary data in wheels
CodeLLDB - A native debugger extension for VSCode based on LLDB
sublime-rust - The official Sublime Text 4 package for the Rust Programming Language

