Giter Site home page Giter Site logo

Comments (3)

atilaneves avatar atilaneves commented on May 19, 2024

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.

Laeeth avatar Laeeth commented on May 19, 2024

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.

atilaneves avatar atilaneves commented on May 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.