On Thursday, May 3, 2018 at 1:49:05 PM UTC+2, Danielo Rodríguez wrote: > > > Why. The environment variables have to be different anyway. In linux you >> must use ":" as seperator and in windows it's ";" ... I'm using both >> systems and have absolutely no problem. >> I'm using different paths in both systems. The environment variables are >> local to your system and not pushed to git .. So I don't see why it should >> cause problems. >> > > I disagree. There are differences between environments, but there are also > solutions to them. That's why I use things like cross-env and npm scripts > for being able to use the same set of scripts on both environments. > In my case, the paths will be relative to the project, and they will be > the same. The only difference will be the path separator. I strongly trust > on building cross-os scripts. TW does the opposite and that is something I > really dislike. >
IMO there is no need to have different build scripts for unix and or windows. Using things like "virtualenv" is like shooting in your foot. It only hurts and nothing else. I'm using and building my stuff on both systems, and I'm using the exact same "npm run scrips" on both systems. Only the environment variables point to different paths. ... that's it. For testing and building I use npm .. See my editions/xx-server directories. ... The whole thing isn't perfect, because you need to "cd" into the right directory to activate the scripts. ... But it is "good enough" for the moment. have fun! mario -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/02d9dc17-2943-4f70-a8f6-7c062c19777f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
