Comments (4)
It's a simplified make--for use in any environment, not just rust. That's the reason I was looking for. I actually was using 'make' to run cargo and then a bunch of other stuff (like linking to a c++ program and then running some tests). I simply renamed the makefile to justfile and it worked perfectly. Thanks. I think an FAQ entry might help--also just look over the documentation with an eye towards the very first impression a user might get. I think my first impression was a make file system >>for rust<<< I'm not sure where that came from, but perhaps there's words in the first part of the readme that say that or something. Nice project. I like the idea of a simplified make.
from just.
Good question!
Cargo's build scripts have a pretty specific and limited use, they are used to control how cargo will build your project. Examples of this would be building a C library, finding the location of a system library you need to link in, running a codegen step, or adding flags to rustc
invocations.
just
, on the other hand, is for all those other miscellaneous commands you might run as part of development. You might have commands for running tests in different configurations, linting your code, pushing build artifacts to a server, removing temporary files, and the like.
Since you're used make, you've probably snuck in a few of these kinds of commands your makefile.
from just.
Also, although just
is written in rust, it can be used regardless of which language(s) your project is written in.
I think I'll add a FAQ and make this the first entry.
from just.
I simply renamed the makefile to justfile and it worked perfectly.
That's awesome to hear!
I like your explanation of it, although I would worry that people might assume that it's a build system if I call it simplified make. I might add something to the documentation that simple makefiles will probably work with just.
from just.
Related Issues (20)
- When piped using `|` `just --list` should output targets in a list omiting the `Available recipes:` text HOT 5
- Calling another recipe from an initial recipe for Python HOT 2
- just path/to/recipe and (cd path/to; just recipe) should be equivalent HOT 3
- just could not find the shell: program not found HOT 1
- Github release for 1.12.0 HOT 2
- cannot pass . as an argument from one justfile to another HOT 1
- ubuntu install fails HOT 2
- feature request: function to get repository root directory HOT 5
- bug: new "conflicting path arguments" error in 1.12.0 HOT 5
- just --list should display first line of multi-line comment HOT 1
- Pre-built binary install script does not work on MacOS Ventura HOT 2
- Should be able to combine multiple attributes (e.g., [private], [no-cd], etc.) on single line
- Dependency in other directory HOT 2
- how to load environment variables from a secrets manager ? HOT 1
- Mention CudaText editor support in readme HOT 1
- Using recipes with argument and without as a different recipes HOT 2
- Should not need to name (last) argument when positional-arguments is true HOT 1
- Cross platform shebangs by special-casing `#!/usr/bin/env` on Windows HOT 7
- Dependency from a parent/child justfile HOT 1
- just --dump should provide recipe order
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from just.