Comments (3)
I didn't implement all of dub because I didn't need it and nobody else was
complaining about it. The other problem is that "dub describe" isn't
particularly well implemented at the moment, mostly because I'm probably
the only one using it for build information.
You can't read the file system at compile-time but you don't have to. All
the examples and the build descriptions I usually write are compile-time
only because they're simpler, but you can use runtime code as well. The
only requirement of a reggaefile.d file is there be one and only one public
function with the signature Build function();
. So, to read the
file-system, don't use the build template mixin and write this instead:
Build mybuild() {
auto target1 = Target(...);
//...
return Build(target1, target2, ...);
}
On 22 April 2016 at 12:57, Laeeth Isharc [email protected] wrote:
As I understand it, reggae won't currently build more complex dub projects
like vibe-d because it doesn't implement the full dub build rules. Please
correct me if I am wrong (and if you can show logic to build one of the
vibe-d examples using reggae that would be great).That's fine because one can just build them separately, set the import
paths so the project is found, and static link to the library files.
However dub projects put the source files in different locations (sometimes
its source, sometimes src, sometimes deimos, and sometimes there is an
additional degree of nesting). One can't read the file system at compile
time.Is there a way to do what I want? Use reggae to build my own projects -
these being composed of multiple static libraries and some source files
depending on them, but also everything depending on some code.dlang.org
modules, including, but not only vibe-d.Thanks.
Laeeth.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#21
from reggae.
Thanks, Atila. Only really need it myself for vibed, and sounds like your answer above addresses best way.
Are you going to dconf ?
Laeeth
from reggae.
Oh yeah, plane ticket and hotel booked and everything. Gotta make it 3
DConfs in a row!
Atila
On 22 April 2016 at 14:08, Laeeth Isharc [email protected] wrote:
Thanks, Atila. Only really need it myself for vibed, and sounds like your
answer above addresses best way.Are you going to dconf ?
Laeeth
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#21 (comment)
from reggae.
Related Issues (20)
- Error building reggae from source v0.9.3 HOT 6
- reggae fails with vibe.d examples HOT 4
- reggae fails to resolve $PACKAGE_DIR in xlsxd HOT 2
- reggae fails to compile example HOT 2
- bootstrap.sh doesn't work? HOT 1
- Code generation HOT 1
- No release for a long time
- D file without package doesn't work
- command gets cut off with ninja HOT 1
- Confusing error with phony depending on Sources HOT 1
- dub copyFiles with relative globs doesn't work in dependencies HOT 1
- Compilation Error: "slice [1 .. 0] has a larger lower index than upper index" HOT 4
- dubConfigurationTarget doesn't work HOT 2
- dubDependant should propagate flags (especially version flags) from the dependencies upwards
- dubDependant should propagate flags (especially version flags) from the dependencies downwards
- Propagate command-line options passed to reggae to dub dependencies such as `--dub-objs-dir`
- JSON compilation database support
- Error: cannot take address HOT 2
- Run dub prebuild commands at build time, not reggae time
- Request for Help - Configuring Reggae without dub.sdl HOT 4
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 reggae.