Comments (3)
Thanks for the input! Extracting dependencies from the command's arguments is a really interesting idea, but getting it right+robust might be more heavyweight than bkt
could reasonably implement. Have you taken a look at Bazel for this use-case? It's great for incremental builds, and way more flexible and powerful than make
.
That said, please share anything you come up with using bkt
! I'd be very curious to see it and it would definitely help inform this feature request.
from bkt.
This works now and will be released as part of 0.6.0.
from bkt.
Thanks for documenting your workaround @dimo414. I'm considering bkt for a simple make-like replacement that can perform builds based on a list of dependencies. Detecting whether the dependencies have changed (i.e. file modification or file hash) would be very helpful in this regard. Another option would be to specify the type of a positional argument (e.g. --0=file). bkt
can then use that information to perform change detection via modtime, hash, etc.
from bkt.
Related Issues (20)
- Cooperative locking HOT 1
- Get bkt into the major package managers HOT 65
- BrokenPipe panic when stdout is closed early
- cli::discard_failures_in_background is flaky HOT 6
- Provide arm64 Darwin build HOT 5
- Record cache statistics
- Feature Request: return when value changes (differs from previous invocation) HOT 4
- [Feature suggestion] Flag to report bkt invocation values, and bkt context HOT 2
- cannot build rev 0.5.4 without updating cargo.lock HOT 5
- Flag to exit immediately on cache misses HOT 3
- Clean up cached data linked to old file modtimes HOT 1
- Feature request: stream the subprocess' stdout and stderr while it's running HOT 8
- Consider %LocalAppData% for Windows
- Default cache directory should be user-specific HOT 9
- Executable missing HOT 6
- Possible Race When Starting Many Parallel Bkt Instances HOT 1
- cache_tests::stable_hash test fails on s390x HOT 1
- Several tests occasionally flake due to missing cwd HOT 3
- Relative cache path does not cache as expected 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 bkt.