-
Notifications
You must be signed in to change notification settings - Fork 73
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
Support building on Windows #191
Changes from 7 commits
e356db7
e05637f
3bd0311
dc6547f
e9d9dc6
28015be
4f6dde8
6463959
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Set autocrlf = false | ||
* -text |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
//go:build !windows | ||
// +build !windows | ||
|
||
// OS specific error strings | ||
package errstrings | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This isn't my favorite thing, but I think is fine in the short term. I think we should probably change the tests to uses There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, I agree. I explored that path and found it out of scope for this PR, but would really like to have it implemented. |
||
|
||
var ( | ||
FileNotFound = "no such file or directory" | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
//go:build windows | ||
// +build windows | ||
|
||
// OS specific error strings | ||
package errstrings | ||
|
||
var ( | ||
FileNotFound = "The system cannot find the file specified." | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may we put all need in the same job? if we separate between windows/linux, we'll not have a single job that group all.