-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
having problems with docker and descendant subdirectories #2
Comments
Ah yes this will be a Windows-specific thing. I'll have to put a thing in to detect the directory separators, because it's hard-coded to |
I think what you've done is really impressive. I will have a fiddle with it Cheers. |
If you're interested to see my progress on this, I've now got it pretty much working on the windows-compatibility branch, at least for my windows installation. I need to do a few more tests to make sure I haven't broken it for non-windows versions - will hopefully get the opportunity to do that and push the updated version to npm before the end of the week. |
That's working. Thanks very much!! Noticed a few bugs: docker -i src -o doc I also tried dumping your gitHub zip into my npm-cache and running install. Cheers
'scripts' is not recognized as an internal or external command, npm ERR! docker@0.1.1 install: On Tuesday, 5 June 2012, James Taylor wrote:
|
Ok with any luck I should have been able to fix that missing CSS issue. As for that install problem, I think that should just sort itself out as soon as I update the version on npm - it looks like it's still using an old version of the package.json there. |
Just been able to do my first full document creation. It looks great and I I think this is the perfect half way point between the quick and dirty bugs?? On Tue, Jun 5, 2012 at 4:37 PM, James Taylor <
macguffin and shemp Matt Hutchinson m: 07950 262 263 |
Thanks! |
Yes your right it is working fine. I must have got that suspect download ;) On Tue, Jun 5, 2012 at 5:08 PM, James Taylor <
macguffin and shemp Matt Hutchinson m: 07950 262 263 |
Completely forgot to mention that I finally managed to get some time to test this all properly and with any luck it's now all fixed as of 0.1.2, which is now on npm. |
Hi I hope you can help as this is exactly what I've been searching for for ages.
(My system is windows7 64 bit)
I have been unable to install using 'npm install docker -g' it fails every time saying that scripts/install.sh is not recognised as an internal or external command.
I was able to install it manual from the gitHub and it does work but only if there is not a sub directory within the specified -i directory. If there is a sub directory it generates all the js.html files in the root and then stops.
I put a trace in at docker.js line 159 and saw that it is reading my folder structure and identifying all the contents but not generating all the files.
In the example I have a folder called src and a subfolder called utils.
(output from cmd):
C:\Users\macguffin\Desktop\New folder (3)>docker -i src
./
example.js
IwgIncludes.js
MGoldMain.js
utils
utils\MakeCash.js
utils\MS.js
Generated: \example.js.html
Generated: \IwgIncludes.js.html
Generated: \monopolyGoldMain.js.html
I also put a trace in at line 195 to see the bits and noticed that it had a double \ is this correct? I wondered if maybe the windows file system was messing with you regex?
utils
utils\MakeCash.js -trace from line 159 - filename
[ 'utils\MakeCash.js' ] - trace from line 195 - bits
utils\MS.js -trace from line 159 - filename
[ 'utils\MS.js' ] - trace from line 195 - bits
Cheers
The text was updated successfully, but these errors were encountered: