Commit Graph

96 Commits

Author SHA1 Message Date
8c38c298ed Get the minimum viable of the command working.
Stripped debug code out
Tidied up some flag handling
Get it working with and without the -f flag.
2014-09-21 10:42:05 +10:00
28b52615cf WIP on adding a bin command 2014-09-20 21:38:51 +10:00
aab3ea4ba6 Add CI badge for windows from Appveyor. 2014-07-14 20:10:23 +10:00
8350eb932e Remove commented out code and go fmt tests. 2014-07-14 19:36:35 +10:00
68b1921266 Merge pull request #4 from GoIncremental/4-windows-line-returns
Tests failing on Windows
2014-07-14 19:35:09 +10:00
bdacd70f4c fixup 2014-07-10 10:14:38 +01:00
ae0bc4ea3c Fix remaining failing test on windows 2014-07-09 15:35:36 +01:00
9c77c4efaf Closes #4 Use bufio.Scanner to read newLines 2014-06-25 16:26:24 +01:00
3c13a80fe1 Merge pull request #3 from ys/feature/accept-equals-in-values
Use SplitN instead of split
2014-03-10 14:25:32 +11:00
7e3e1e2c6c Use SplitN instead of split 2014-03-07 23:21:31 +01:00
3505098f90 Merge pull request #2 from mattn/seveal_equals
FOO=BAR= should be "FOO" = "BAR="
2013-11-18 01:49:12 -08:00
c0dce90b3c FOO=BAR= should be "FOO" = "BAR=" 2013-11-18 18:46:24 +09:00
6e333bd708 add godotenv.Read() which returns a map rather than calling os.Setenv 2013-09-04 12:40:57 +10:00
38f18b8248 Merge pull request #1 from wolfeidau/readme_corrections
Small correction to code in the README.
2013-09-03 03:37:38 -07:00
4392e21bf6 Small correction to code in the README. 2013-09-03 18:34:37 +10:00
05b73c4383 Fix the autoload package. 2013-08-06 20:00:06 +10:00
5efd3c5b44 Do more of the documenting. 2013-08-02 14:33:40 +10:00
d00d0f7ef4 Turns out there was an easier way to read the env file. 2013-08-02 13:40:38 +10:00
5896be1361 Add the ability to autoload the env file when you import. 2013-07-31 19:46:42 +10:00
42920bbe5d Write up something for "go doc" 2013-07-31 14:54:21 +10:00
85e631994e Update readme 2013-07-31 14:38:18 +10:00
9ec71cc6c8 Make sure we don't overwrite existing ENV vars. 2013-07-31 14:25:10 +10:00
3f6d91c4c0 That is a syntax lol. 2013-07-31 14:24:13 +10:00
3d290e5fa8 Love me some build badges. 2013-07-31 14:19:29 +10:00
4dc2e84f65 Borrow some of dotenv's readme 2013-07-31 14:18:07 +10:00
33e2555609 Licence and more readme 2013-07-31 14:16:18 +10:00
6697f812dd Readme with build status. 2013-07-31 13:58:23 +10:00
8a879012ea Add wercker.yml for CI 2013-07-31 13:55:35 +10:00
9d9f6ccb57 Make Load() without args open .env by default 2013-07-31 13:51:59 +10:00
ac58adf673 Get the code running against all fixtures. 2013-07-31 13:39:59 +10:00
9b4bbb98c3 Clear the env at the start of each integration test. 2013-07-31 12:57:44 +10:00
9001b88250 Ignore comment lines and lines full o' whitespace. 2013-07-31 12:37:08 +10:00
48ca995c3b Add some more tests. 2013-07-31 12:28:41 +10:00
74ec3a085f Handle quoted hashes "properly"
Read: not prettily or robustly.
2013-07-31 12:24:03 +10:00
aa6e870b57 Red, green, rinse repeat. 2013-07-31 12:10:31 +10:00
98b43188a1 World's most naive comment parser...
Really pushing this red/green/refactor thing a little bit too far.
2013-07-31 12:08:58 +10:00
a37b438d54 Start trying to do comments/quoting properly. 2013-07-31 11:48:10 +10:00
b3b488372f Mark out the rest of my todo list in the test file. 2013-07-30 18:44:17 +10:00
37c8b8e487 export keyword parsing 2013-07-30 18:38:10 +10:00
4a2748eb3c Yaml style bro. 2013-07-30 18:34:51 +10:00
b10c02f9b0 Move the red-green a little way down the existing parser specs. 2013-07-30 18:23:33 +10:00
919c161945 Start porting over parser tests. 2013-07-30 18:15:58 +10:00
d8dfdb69b3 Extract a test helper 2013-07-30 17:48:37 +10:00
973cf53008 Get the basic tests green. 2013-07-30 17:44:28 +10:00
78ba83b776 First failing tests extracted from dotenv 2013-07-30 11:46:52 +10:00
ccd8bf5602 Macs are dumb. 2013-07-30 11:46:42 +10:00