Comments (3)
Both options (inter-script dependencies and multiple args to run
) are nicely orthogonal. Given the very low complexity of enabling run <script1> <script2>
, and the nice affordance this produces, this is the way.
We would want to note in the long description of the run
command that multiple scripts will be executed in parallel.
from leeway.
I like the simplicity of passing multiple scripts to leeway run
.
How would you format logs?
Would there be an additional level of [xx]
prefixes on top of the ones our nested call of leeway build
already generates?
E.g. leeway run dev/preview:create-preview dev/preview:build
would output
[dev/preview:build][component1] Building....
[dev/preview:build][component2] Building....
[dev/preview:create-preview] Terraform init...
[dev/preview:build][component2] Building....
[dev/preview:create-preview] Terraform apply...
When we discussed parallelism in the past, I did have another solution in mind: Make the executable element part of the build graph, so Leeway could decide parallelism based on dependencies, just like it does with packages today. However, if we can get away with a simpler solution, I'm all for it.
from leeway.
Would there be an additional level of [xx] prefixes on top of the ones our nested call of leeway build already generates?
I would not think so.
There is the opportunity for one harmonised build beforehand though, i.e. instead of building many different _deps
packages, build one single one.
from leeway.
Related Issues (20)
- presence of dynamic packages leads to linking error during `leeway exec` HOT 3
- 'leeway build' fails to run `yarn` scripts HOT 4
- Output download log only when using --debug command
- Provide tab-completion for `leeway run`
- sha256Hash fails to hash symlink to directory HOT 1
- Document ephemeral packages HOT 1
- Retire ephemeral packages in favour of scripts
- Remove deprecated "typescript" package type
- Add vet warning when including `node_modules` in the source list
- Parallelize leeway vet
- Leeway vet doesn't return a non-zero exit code on failures
- Improve testability
- Decide on future of graphview
- golangci-lint is not part of the environment manifest
- Packages build because they're deps of a script don't get uploaded to the remote cache
- Cannot parse Git status when files are renamed
- Extend `vet` so that it produces a warning if any .gitignore files are in the srcs input to a package.
- Implement leeway remote caching for S3
- Allow cross architecture docker builds with docker buildx HOT 3
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 leeway.