Pure-D / workspace-d

CLI deprecated, API + functionality moved into https://github.com/Pure-D/serve-d
MIT License
75 stars 15 forks source link

Autoinstall fails when cloned without submodules #66

Closed nin-jin closed 7 years ago

nin-jin commented 7 years ago
PS C:\proj> git clone https://github.com/Pure-D/workspace-d.git
Cloning into 'workspace-d'...
remote: Counting objects: 736, done.
remote: Compressing objects: 100% (20/20), done.
emote: Total 736 (delta 4), reused 0 (delta 0), pack-reused 714
Receiving objects: 100% (736/736), 147.69 KiB | 0 bytes/s, done.
Resolving deltas: 100% (419/419), done.
Checking connectivity... done.
PS C:\proj> cd .\workspace-d\
PS C:\proj\workspace-d> .\install.bat

C:\proj\workspace-d>dub run :installer -- .
No package file found in C:\proj\workspace-d\libdparse\, expected one of dub.json/dub.sdl/package.json

workaround:

git submodule init
git submodule update
install.bat
WebFreak001 commented 7 years ago

lol looks like a dub bug that building the subpackage doesn't work. cd installer; dub build; cd ..; ./installer/iworkspaced . actually works. Gonna modify the install script

WebFreak001 commented 7 years ago

https://github.com/dlang/dub/issues/1043