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

Add first test for project Creation #25

Merged
merged 7 commits into from Oct 11, 2019
Merged

Conversation

jb55
Copy link
Contributor

@jb55 jb55 commented Oct 11, 2019

This PR makes some minor refactors to make testing easier. It also adds a test to check to see if commit0.yml is empty on creation.

This also adds travis CI builds

Signed-off-by: William Casarin <jb55@jb55.com>
@jb55 jb55 force-pushed the create-test branch 3 times, most recently from d3b48c2 to b0f5584 Compare October 11, 2019 00:34
@jb55 jb55 force-pushed the create-test branch 3 times, most recently from e51f1d1 to 7c98912 Compare October 11, 2019 02:22
This will allow us to call this from within a test

Signed-off-by: William Casarin <jb55@jb55.com>
Signed-off-by: William Casarin <jb55@jb55.com>
This will allow us to generate projects into any directory we would like.

We also:

  - replace spome Sprintfs with path.Join
  - Use MkdirAll instead of MkDir
  - Return the project directory

Signed-off-by: William Casarin <jb55@jb55.com>
Signed-off-by: William Casarin <jb55@jb55.com>
Signed-off-by: William Casarin <jb55@jb55.com>
Signed-off-by: William Casarin <jb55@jb55.com>
@jb55 jb55 merged commit f679a5c into commitdev:master Oct 11, 2019
@jb55 jb55 deleted the create-test branch October 11, 2019 03:16
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

Successfully merging this pull request may close these issues.

None yet

2 participants