Using dub

Joel via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jan 27 16:34:11 PST 2015


On Tuesday, 27 January 2015 at 08:08:19 UTC, Joel wrote:
> Oope, yeah, and it ran.

Thanks Rikki, I wiped off the dub installation. Now, no errors. 
The small program worked too.

I don't now how to set up the dub executable to work with out 
doing stuff like this - '../dub' (Mac OS 10.10.1)

Joels-MacBook-Pro:window joelcnz$ ../../dub build de_window:test
Building package de_window:test in 
/Users/joelcnz/jpro/dpro2/OtherPeoples/window/
Fetching de_util 0.0.4 (getting selected version)...
Placing de_util 0.0.4 to /Users/joelcnz/.dub/packages/...
Fetching x11 1.0.5 (getting selected version)...
Placing x11 1.0.5 to /Users/joelcnz/.dub/packages/...
Fetching de_image 0.3.4 (getting selected version)...
Placing de_image 0.3.4 to /Users/joelcnz/.dub/packages/...
Fetching derelict-util 1.9.0 (getting selected version)...
Placing derelict-util 1.9.0 to /Users/joelcnz/.dub/packages/...
Fetching derelict-gl3 1.0.12 (getting selected version)...
Placing derelict-gl3 1.0.12 to /Users/joelcnz/.dub/packages/...
Building de_util:core 0.0.4 configuration "library", build type 
debug.
Running dmd...
Building de_image:interfaces 0.3.4 configuration "library", build 
type debug.
Running dmd...
Building de_image:mutable 0.3.4 configuration "library", build 
type debug.
Running dmd...
Building x11 1.0.5 configuration "library", build type debug.
Running dmd...
Building de_window:interfaces 0.0.8 configuration "library", 
build type debug.
Running dmd...
Building derelict-util 1.9.0 configuration "library", build type 
debug.
Running dmd...
Building derelict-gl3 1.0.12 configuration "library", build type 
debug.
Running dmd...
Building de_window:test 0.0.8 configuration "application", build 
type debug.
Compiling using dmd...
Linking...
Joels-MacBook-Pro:window joelcnz$ ls
LICENSE				dub.json
README.md			dub.selections.json
WindowsAPI			interfaces
cocoa_library			libde_window_interfaces.a
de_window_test			platforms
dub				test


More information about the Digitalmars-d-learn mailing list