Bernerd Schaefer
c6e54eeee7
Use bash from current environment
...
Not all Unix platforms put their `bash` executable at `/bin/bash`,
for example on NixOS it may exist at `/run/current-system/sw/bin/bash`.
Instead of using `/bin/bash`, then, use `bash` alone,
and allow the [cmd package to resolve the correct path][cmd]
bashed on the user's current environment.
[cmd]: https://golang.org/pkg/os/exec/#Command
Before:
```
$ forego start
forego | starting web.1 on port 3000
forego | Failed to start web.1: fork/exec /bin/bash: no such file or directory
forego | starting worker.1 on port 3100
forego | Failed to start worker.1: fork/exec /bin/bash: no such file or directory
```
After:
```
$ forego start
forego | starting web.1 on port 3000
forego | starting worker.1 on port 3100
web.1 | [26076] Started
```
2016-02-23 15:32:55 -08:00
David Dollar
4eaf54121e
fix env handling
2015-02-19 09:28:19 -05:00
David Dollar
f0fe9777cd
Merge pull request #52 from subicura/master
...
fix #51
2015-02-16 22:16:24 -05:00
Chungsub Kim
abbc8f80c4
fix #51
2015-02-17 12:02:51 +09:00
David Dollar
1c127e8353
apache 2.0
2015-01-30 17:21:45 -05:00
David Dollar
11c47bcbdd
tweak readme
2015-01-30 17:21:15 -05:00
David Dollar
bea6920fdb
fix readme
2015-01-30 17:20:30 -05:00
David Dollar
9567418cc5
fix links
2015-01-30 17:16:35 -05:00
David Dollar
98ee8626b3
fix readme links
2015-01-30 17:16:11 -05:00
David Dollar
db3ef40c25
vendor deps
v0.16.1
2015-01-30 16:59:49 -05:00
David Dollar
146983ac8f
vendor deps
v0.16.0
2015-01-30 16:55:57 -05:00
David Dollar
0114039026
Merge pull request #48 from nhocki/port_env
...
Read PORT from the environment
v0.15.0
2015-01-02 17:01:36 -05:00
Nicolás Hock Isaza
76b295e7f5
Read PORT from the environment
...
Read the `PORT` from the system environment if it's present. This is
related to #44 and will make the port read order this:
1. `-p` flag.
2. `PORT` in the `.env` file
3. `PORT` environment variable
4. 5000 as default port
2015-01-02 16:53:13 -05:00
David Dollar
23c8b0413e
fix urls
2015-01-01 21:45:48 -05:00
David Dollar
06e82bf66a
try new travis
v0.14.4
2015-01-01 21:39:31 -05:00
David Dollar
28ea52c798
vendor deps
v0.14.3
2015-01-01 21:38:28 -05:00
David Dollar
0746ea7f70
update dist
v0.14.2
2015-01-01 21:37:06 -05:00
David Dollar
a57f863d8d
vendor deps
v0.14.1
2015-01-01 21:30:55 -05:00
David Dollar
348bae0904
Merge branch 'sergiobuj-port_from_env'
v0.14.0
2015-01-01 21:20:34 -05:00
Sergio Botero and David Dollar
bff4e8f8cf
Read port from env
...
Allow the port to be set on the .env file to avoid using the port flag
every time.
2015-01-01 21:20:18 -05:00
David Dollar
60ea19d34b
Merge pull request #46 from nhocki/dotforego_support
...
Support multiple environment flags
2015-01-01 21:15:56 -05:00
David Dollar
d9f236f8ce
tweaks
2015-01-01 21:15:04 -05:00
David Dollar
1564f99c74
less technical
2015-01-01 21:13:49 -05:00
David Dollar
fa2e713509
typo
2015-01-01 21:13:12 -05:00
David Dollar
8bf57f3823
gobuild.io appears abandoned
2015-01-01 21:12:32 -05:00
David Dollar
1bc05da276
readme
2015-01-01 21:03:26 -05:00
David Dollar
41f53d6dac
readme
2015-01-01 21:02:55 -05:00
David Dollar
6a76ea5a8c
use gobuild.io
2015-01-01 21:02:16 -05:00
Nicolás Hock Isaza
294ed6c9ec
Support multiple environment files on forego run
2014-12-22 19:41:47 -05:00
Nicolás Hock Isaza
656dbf434d
Move loading multiple environments to env.go
...
This way all the env related code is in the same place.
2014-12-22 19:30:02 -05:00
Nicolás Hock Isaza
e5004cd349
Support multiple environment flags
...
This adds support for multiple environment files via multiple `-e`
flags.
Closes #13
2014-12-21 11:28:18 -05:00
David Dollar
f6f63c87c3
Merge pull request #33 from subicura/master
...
fix long stdout line read issue
2014-12-16 09:54:07 -05:00
David Dollar
48f73c202b
Merge pull request #42 from sgmac/master
...
Show run help with no args
2014-11-05 07:12:42 -05:00
Sergio Galvan
b49d884dfa
Show run help with no args
2014-11-04 21:28:47 -08:00
David Dollar
c4e9910997
tweak docs, closes #41
2014-10-14 15:12:32 -04:00
David Dollar
de252449be
Merge pull request #39 from dickeyxxx/testing
...
travis support and testing the version command
2014-09-18 19:24:01 +02:00
dickeyxxx
fc066ab876
ddollar badge
2014-09-18 10:23:05 -07:00
dickeyxxx
712fe5e505
install cover tool
2014-09-18 10:20:57 -07:00
dickeyxxx
1f5834f032
restore godeps
2014-09-18 10:20:56 -07:00
dickeyxxx
380f17a8ce
build forego bin when testing
2014-09-18 10:20:56 -07:00
dickeyxxx
e7791b1abb
test eg project
2014-09-18 10:20:56 -07:00
dickeyxxx
436520deca
install godep on travis
2014-09-18 10:20:55 -07:00
dickeyxxx
4375d794ad
added test step to Makefile
2014-09-18 10:20:55 -07:00
dickeyxxx
1394342dd2
test version command
2014-09-18 10:20:55 -07:00
David Dollar
2617b7873b
Merge pull request #37 from dickeyxxx/patch-1
...
added homebrew link
2014-09-18 18:47:09 +02:00
David Dollar
04d56efae5
fix runnability of commands
v0.13.1
2014-09-18 12:44:54 -04:00
David Dollar
ec1d07333c
allow update command to be disabled
v0.13.0
2014-09-18 12:40:56 -04:00
David Dollar
57dca4ca12
make Version a variable so it can be set from a build flag
2014-09-18 12:31:01 -04:00
Jeff Dickey
8f24a56c9d
added homebrew link
2014-09-18 09:18:03 -07:00
David Dollar
23a87cdb1a
Merge pull request #35 from godep-migrator/master
...
godep: switch to -copy=true
v0.12.0
2014-09-11 12:43:44 +02:00