Comments (9)
Site almost ready: https://dystroy.org/bacon/
from bacon.
Hum, I was more imagining adding the arguments to a base job, for example
bacon ex -- bla -v some-arg
(assuming a "ex" job)
or
bacon -- -p my_crate_in_workspace
to take your example but assuming a base check
job.
I'll create an issue anyway if you don't do it. I created #67 (it can be changed of course)
from bacon.
@cehteh Doesn't ctrl-c work well in bacon ? It was designed for that.
(note that I still have to do the same for the case of reverting to a previous process)
from bacon.
I still think something like google/argh#78 would be useful. The handling for doc-open
is clever and I like that I can call it from the main job with a shortcut :)
from bacon.
@jyn514 Replacing argh isn't out of question. Parsing arguments isn't a hard problem, especially when you don't try to make a public library. I'm pondering whether passing arguments this way is worth the task or not. Would that be used a lot ?
from bacon.
@Canop I don't think there's any need to write your own parsing library, you could use gumdrop or clap or something which both support --
as a delimiter.
from bacon.
Is there an issue declared here for passing arguments after --
? I don't find one.
from bacon.
#52 is somewhat related. My idea is that you could use bacon -- check -p my_crate_in_workspace
without having to configure it in bacon.toml (it gets tedious when there are many crates). I don't think it makes sense to add support for every cargo flag in bacon directly.
from bacon.
on bacon 1.2 I have sometimes the issue that a borked test runs very long. Does bacon 2 offer some way (ctrl-c?) to kill the current subprocess (ideally some hook for nice level / ulimits would be nice too). If not I can make separate tickets for these.
from bacon.
Related Issues (20)
- run tests with `-- --nocapture` option HOT 4
- bacon reacts to every inotify event, possibly seeing a broken project HOT 8
- Run multiple jobs after each other HOT 5
- Difference between how cargo clippy and bacon clippy treat tests HOT 2
- Fails to build with nightly 98aa3624b 2024-02-08 in ahash-0.8.2 HOT 4
- Bacon fails to properly rerun on changes that happen while compilation is ongoing HOT 7
- `bacon test` doesn't recognize `--features` HOT 4
- Can't seem to make `bacon test --no-default-features` work HOT 2
- Can't build on M3 MacPro with sold linker HOT 5
- wheel scrolling doesn't work in tmux / linux HOT 1
- Not displaying correctly on Windows Terminal, offset by one line HOT 5
- `on_success` doesnโt trigger when there are warnings and `allow_warnings = true` HOT 1
- [feature request] Expand env vars in job command HOT 3
- Inconsistent stdout flushing when using `bacon run`
- Tests are only run on workspace default package
- 2.18.0 build with --locked fails on nightly HOT 3
- Show the error line number in doc test summaries instead of the block line number. HOT 1
- Inconsistent terminal behaviour on windows HOT 5
- Show color in doc test results HOT 1
- Feature Request: Pause? HOT 1
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 bacon.