digitalmars.D.learn - DUB / changes & patches to dependencies
- =?iso-8859-1?Q?Robert_M._M=FCnch?= (11/11) Jan 07 2016 I use DUB and have a vibe project and want to make some small changes to...
- Basile B. (3/11) Jan 07 2016 DUB accepts the --force option IIRC.
- Keywan Ghadami (6/14) Jan 07 2016 It should work, when it did not work for me it was almost that i
- Rene Zwanenburg (8/16) Jan 07 2016 IMO the best way is to clone vibe.d and add a local dependency:
I use DUB and have a vibe project and want to make some small changes to vibe. I tried just to change the file in ~/.dub/packages/vibe-d-0.7.26/source/vibe/core/drivers/win32.d and expect that DUB will recognize this, recompile vibe and build my project. But it doesn't. Changing a packages file won't trigger a build. Any idea how to do it? -- Robert M. Münch http://www.saphirion.com smarter | better | faster
Jan 07 2016
On Thursday, 7 January 2016 at 14:03:47 UTC, Robert M. Münch wrote:I use DUB and have a vibe project and want to make some small changes to vibe. I tried just to change the file in ~/.dub/packages/vibe-d-0.7.26/source/vibe/core/drivers/win32.d and expect that DUB will recognize this, recompile vibe and build my project. But it doesn't. Changing a packages file won't trigger a build. Any idea how to do it?DUB accepts the --force option IIRC.
Jan 07 2016
On Thursday, 7 January 2016 at 14:03:47 UTC, Robert M. Münch wrote:I use DUB and have a vibe project and want to make some small changes to vibe. I tried just to change the file in ~/.dub/packages/vibe-d-0.7.26/source/vibe/core/drivers/win32.d and expect that DUB will recognize this, recompile vibe and build my project. But it doesn't. Changing a packages file won't trigger a build. Any idea how to do it?It should work, when it did not work for me it was almost that i made the change within the wrong directory. Please doublecheck the version maybe dub uses a differnt folder. Maybe dub -v gives you more information.
Jan 07 2016
On Thursday, 7 January 2016 at 14:03:47 UTC, Robert M. Münch wrote:I use DUB and have a vibe project and want to make some small changes to vibe. I tried just to change the file in ~/.dub/packages/vibe-d-0.7.26/source/vibe/core/drivers/win32.d and expect that DUB will recognize this, recompile vibe and build my project. But it doesn't. Changing a packages file won't trigger a build. Any idea how to do it?IMO the best way is to clone vibe.d and add a local dependency: "dependencies": { "somepackage": { "version": "~master", "path": "../SomePackage" } } It's a bit more work to setup, but this way unrelated projects don't break.
Jan 07 2016