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

Fixes to Makefile + minor tweaks (fixes #2) #3

Merged
merged 3 commits into from
Jul 29, 2014

Conversation

vanstyn
Copy link
Contributor

@vanstyn vanstyn commented Jul 29, 2014

'make' should work now out of the box (and support 'get' and 'format' targets like the docs already described). Should still preserve the author's existing process/workflow (i.e. make 1, make 2 ...). See commit messages for more info.

Added 'get' and 'format' targets to the Makefile according to the
existing documentation in the README.md, as well as 'all' as the
first target which runs both (i.e. when make is called with no args).

Commented out call to 'check-logins.coffee' since it is apparently
just a debug thing which doesn't work the first time due to an
ordering problem (needs data which doesn't get generated until
later). This, along with earlier commit which checks that
temp-logins.json exists before trying to rename it to old-logins,
fixes paulmillr#2 (paulmillr#2)

Now running 'make' out of the box after cloning and installing deps
should just work...

Also added a 'clean' target to the Makefile for good measure, and
just as a means to document the list of files that are expected to
be generated from get/format

Also updated the request error handling code to throw the body text
in addition to the status (useful to be able to see if the error is
because you've run afoul of Github's rate limit rules).

Finally, split url string in get-users.coffee into two lines for
readability.
paulmillr added a commit that referenced this pull request Jul 29, 2014
Fixes to Makefile + minor tweaks (fixes #2)
@paulmillr paulmillr merged commit 6d52216 into paulmillr:master Jul 29, 2014
@paulmillr
Copy link
Owner

thx

cmrnh pushed a commit to cmrnh/github-stats that referenced this pull request Dec 31, 2014
Fixes to Makefile + minor tweaks (fixes paulmillr#2)
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