Comments (4)
Perfect, I'm traveling without a computer for a couple of weeks but I'll put together a PR when I'm back.
from tundra.
I can write up a PR for this if it makes sense.
Should we pass default_nodes
as an array or should we pass it as a lookup table where the DAG nodes are keys for ease of use? GIven that I only have this use case atm I'm biased toward the latter.
i.e.
local default_nodes = {}
for _, v in ipairs(node_bindings) do
for _, default_node in pairs(v.DefaultNodes) do
default_nodes[default_node] = true
end
end
from tundra.
I made a Gist with my vscode generator for completeness sake, it's using the change above that I have made to my local Tundra installation. This line uses the default_nodes to lookup a DAG node to tell if it's a default build unit.
from tundra.
I think this makes sense to add. I vaguely remember doing something like this back in the day for Visual Studio, to mark certain things as being part of the default build, but it wasn't useful or something and I never completed it.
A lookup table probably makes sense if you want to PR this, there's a utility function that makes a LUT from an array.
from tundra.
Related Issues (20)
- v2.0 release binary for windows missing HOT 7
- VS 2017 support HOT 7
- MSYS2 compilation fails HOT 2
- How to add a private toolchain (or any other lua script) HOT 3
- Clean up use of fixed buffers in Win32 process spawning
- Please update Brew package for Mac HOT 4
- Relicensing tundra under MIT license HOT 13
- Auto-rebuild monitor mode
- Pkgconfig module doesn’t handle brew’s glib-2.0.pc file
- CreateProcess() errors should be shown with GetLastError()
- Precompiled headers get generated multiple times when using DefRule
- Status HOT 3
- Env variable changes do not trigger frontend re-runs
- Quiet option still outputs annotations
- Debug symbols for releases HOT 1
- Tundra prematurely stops looking for "Depends" HOT 7
- A proposal for a package manager HOT 4
- Windows, Visual Studio 2022 is not recognized by Tundra HOT 2
- crash with too many threads HOT 5
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 tundra.