dlang-community / Pegged

A Parsing Expression Grammar (PEG) module, using the D programming language.
534 stars 66 forks source link

Add package.json for using Pegged as a DUB dependency. #110

Closed s-ludwig closed 11 years ago

s-ludwig commented 11 years ago

Adds a minimal package.json file. The library will be compiled as a source library together with the host project.

Trying to build directly using "dub" currently fails because no main() is defined. In the future this may be changed to instead build a static library, but dub needs to be extended for that slightly.

The package file here is basically the same as in #109, but removes all build type specific flags (dub manages those itself using e.g. --build=unittest).

PhilippeSigaud commented 11 years ago

Adds a minimal package.json file. The library will be compiled as a source library together with the host project.

OK, I'll merge it.

PhilippeSigaud commented 11 years ago

And thanks a lot!