These are chat archives for
Sign in to start talking
First place to share some things, getting started
Jun 12 2015 04:44
Executing the commands in the current shell is an issue but I think you've worked out a pretty good solution having the second script run.
Jun 12 2015 04:52
So the executable will run two scripts, first ScriptA.php and then ScriptB.sh (.bat/.command/.etc)
Where ScriptA.php generates ScriptB in the language of the current shell. ScriptB would probably want to rm itself.
I ran some tests in Cygwin and it worked well enough.
We'll probably need to limit ourselves to only a few shells to begin with. After a little research we'll need it to work with .sh for Linux, .bat for Windows, and .command for Mac.
Jun 12 2015 04:57
There do seem to be a lot of potential problems we'll run into but I don't see any reason we can't find ways to increase the compatibility. We'll just want to make sure we keep it well organized.
Jun 12 2015 15:16
when using bash you can probably avoid a temporary file:
there might be a more hackish way for windows, but I just wanted it to work :)
Jun 12 2015 17:12
I've cleaned up some stuff and made it easier to get started on Windows.
database setup happens automatically and I improved the readme
Jun 12 2015 20:31
Seems like the same thing can be done with 'invoke-expression' using Power Shell, which I know nothing about.
Jun 12 2015 20:33
me neither, it's either cmd.exe or a cygwin shell for me
Jun 12 2015 20:42
Yea, I'm only really familiar cmd
*with cmd, haha
Jun 12 2015 20:47
what do we do next? I think everybody should get a version running on their system and probably refactor a bit first
Jun 12 2015 20:49
Yeah, I'm gonna take a look at it get it running on my system
Jun 12 2015 21:32
We'll probably want to set up some kind of basic framework to provide an underlying structure. Or at least use a project standard of some kind.
Jun 12 2015 21:40
I'm not aware of any. But you already have something going with src/Model. Are you basing it on something? Or just intuition?