Skip to content
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

feature idea #11

Open
1 of 4 tasks
zztkm opened this issue Nov 18, 2020 · 2 comments
Open
1 of 4 tasks

feature idea #11

zztkm opened this issue Nov 18, 2020 · 2 comments

Comments

@zztkm
Copy link
Owner

zztkm commented Nov 18, 2020

describe.
Create a roadmap to keep vdotenv project running smoothly.

my idea

@litenite42
Copy link
Contributor

litenite42 commented Nov 20, 2020

I've got parsing working for:
.env.simple

TEST=SIMPLE
TEST2=SIMPLE2 #comment

.env.simpletoo

TEST3=SIMPLE3

With these two tests passing:

fn test_parse_single_file() {
	result := parse('.env.simple')
	assert result == '{"TEST" => "SIMPLE" , "TEST2" => "SIMPLE2"}'
}

fn test_parse_multi_file() {
	result := parse('.env.simple', '.env.simpletoo')
	assert result == '{"TEST" => "SIMPLE" , "TEST2" => "SIMPLE2" , "TEST3" => "SIMPLE3"}'
}

https://github.com/nyx-litenite/vdotenv/tree/parse

@zztkm
Copy link
Owner Author

zztkm commented Nov 20, 2020

@nyx-litenite
Great job!

I also tested it. It looks good to me.
I have created an issue, so let's discuss the rest here! #12

@zztkm zztkm closed this as completed Feb 26, 2021
@zztkm zztkm reopened this Feb 26, 2021
@zztkm zztkm changed the title Create loadmap feature idea Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants