{"action":"created","comment":{"url":"https://api.github.com/repos/scala-native/scala-native/pulls/comments/115582201","pull_request_review_id":37132667,"id":115582201,"diff_hunk":"@@ -382,14 +382,16 @@ lazy val tests =\n       // nativeOptimizerReporter := OptimizerReporter.toDirectory(\n       //   crossTarget.value),\n       sourceGenerators in Compile += Def.task {\n-        val dir    = sourceDirectory.value\n-        val prefix = dir.getAbsolutePath + \"/main/scala/\"\n+        val dir       = sourceDirectory.value\n+        val separator = java.io.File.separator;\n+        val prefix = dir.getAbsolutePath + Seq(\"main\", \"scala\")\n+            .mkString(separator, separator, separator)\n         val suites = (dir ** \"*Suite.scala\").get\n           .map { f =>\n             f.getAbsolutePath\n               .replace(prefix, \"\")\n               .replace(\".scala\", \"\")\n-              .split(\"/\")\n+              .split(\"/|\\\\\\\\\")","path":"build.sbt","position":16,"original_position":16,"commit_id":"e4745604c366d61386962b8f2a650252cd3c0393","original_commit_id":"ff526f9f187b5674add80a576ac78159978759b6","user":{"login":"muxanick","id":1174482,"avatar_url":"https://avatars3.githubusercontent.com/u/1174482?v=3","gravatar_id":"","url":"https://api.github.com/users/muxanick","html_url":"https://github.com/muxanick","followers_url":"https://api.github.com/users/muxanick/followers","following_url":"https://api.github.com/users/muxanick/following{/other_user}","gists_url":"https://api.github.com/users/muxanick/gists{/gist_id}","starred_url":"https://api.github.com/users/muxanick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muxanick/subscriptions","organizations_url":"https://api.github.com/users/muxanick/orgs","repos_url":"https://api.github.com/users/muxanick/repos","events_url":"https://api.github.com/users/muxanick/events{/privacy}","received_events_url":"https://api.github.com/users/muxanick/received_events","type":"User","site_admin":false},"body":"Thanks, I replaced by Matcher.quoteReplacement(System.getProperty(\"file.separator\") and it works fine","created_at":"2017-05-09T19:35:23Z","updated_at":"2017-05-09T19:35:23Z","html_url":"https://github.com/scala-native/scala-native/pull/691#discussion_r115582201","pull_request_url":"https://api.github.com/repos/scala-native/scala-native/pulls/691","_links":{"self":{"href":"https://api.github.com/repos/scala-native/scala-native/pulls/comments/115582201"},"html":{"href":"https://github.com/scala-native/scala-native/pull/691#discussion_r115582201"},"pull_request":{"href":"https://api.github.com/repos/scala-native/scala-native/pulls/691"}}},"pull_request":{"url":"https://api.github.com/repos/scala-native/scala-native/pulls/691","id":118637048,"html_url":"https://github.com/scala-native/scala-native/pull/691","diff_url":"https://github.com/scala-native/scala-native/pull/691.diff","patch_url":"https://github.com/scala-native/scala-native/pull/691.patch","issue_url":"https://api.github.com/repos/scala-native/scala-native/issues/691","number":691,"state":"open","locked":false,"title":"[WIP] Initial windows support","user":{"login":"muxanick","id":1174482,"avatar_url":"https://avatars3.githubusercontent.com/u/1174482?v=3","gravatar_id":"","url":"https://api.github.com/users/muxanick","html_url":"https://github.com/muxanick","followers_url":"https://api.github.com/users/muxanick/followers","following_url":"https://api.github.com/users/muxanick/following{/other_user}","gists_url":"https://api.github.com/users/muxanick/gists{/gist_id}","starred_url":"https://api.github.com/users/muxanick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muxanick/subscriptions","organizations_url":"https://api.github.com/users/muxanick/orgs","repos_url":"https://api.github.com/users/muxanick/repos","events_url":"https://api.github.com/users/muxanick/events{/privacy}","received_events_url":"https://api.github.com/users/muxanick/received_events","type":"User","site_admin":false},"body":"I just was able to compile sandbox.exe with clang 5.0 from sbt command-line from master branch (unfortunately without unwind).\r\nI used Visual Studio Code as IDE for Scala (built-in terminal for sbt),\r\nclang/llvm/re2/boehm from git repositories compiled with cmake and Visual Studio 2017 Community Edition.\r\nI had to implement a few methods in native library because there were missing and I modified a sbt-plugin to support different slash-direction for filesystem, but I believe it could be implemented inside a scala filesystem code.\r\nThere is also uncertain situation with scalanative::ExceptionWrapper, it has different signature on windows. Ideally we need to compile small test.cpp and extract it during Codegen stage.\r\nIt would be good to have some options inside CodeGen.scala, for instance platform and enable/disable exceptions options.","created_at":"2017-05-02T20:16:11Z","updated_at":"2017-05-09T19:35:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8626b41b3b298f0d3ce7ab68c4f5675e2d77326c","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/scala-native/scala-native/pulls/691/commits","review_comments_url":"https://api.github.com/repos/scala-native/scala-native/pulls/691/comments","review_comment_url":"https://api.github.com/repos/scala-native/scala-native/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scala-native/scala-native/issues/691/comments","statuses_url":"https://api.github.com/repos/scala-native/scala-native/statuses/e4745604c366d61386962b8f2a650252cd3c0393","head":{"label":"muxanick:topic/windows-support","ref":"topic/windows-support","sha":"e4745604c366d61386962b8f2a650252cd3c0393","user":{"login":"muxanick","id":1174482,"avatar_url":"https://avatars3.githubusercontent.com/u/1174482?v=3","gravatar_id":"","url":"https://api.github.com/users/muxanick","html_url":"https://github.com/muxanick","followers_url":"https://api.github.com/users/muxanick/followers","following_url":"https://api.github.com/users/muxanick/following{/other_user}","gists_url":"https://api.github.com/users/muxanick/gists{/gist_id}","starred_url":"https://api.github.com/users/muxanick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muxanick/subscriptions","organizations_url":"https://api.github.com/users/muxanick/orgs","repos_url":"https://api.github.com/users/muxanick/repos","events_url":"https://api.github.com/users/muxanick/events{/privacy}","received_events_url":"https://api.github.com/users/muxanick/received_events","type":"User","site_admin":false},"repo":{"id":89957043,"name":"scala-native","full_name":"muxanick/scala-native","owner":{"login":"muxanick","id":1174482,"avatar_url":"https://avatars3.githubusercontent.com/u/1174482?v=3","gravatar_id":"","url":"https://api.github.com/users/muxanick","html_url":"https://github.com/muxanick","followers_url":"https://api.github.com/users/muxanick/followers","following_url":"https://api.github.com/users/muxanick/following{/other_user}","gists_url":"https://api.github.com/users/muxanick/gists{/gist_id}","starred_url":"https://api.github.com/users/muxanick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muxanick/subscriptions","organizations_url":"https://api.github.com/users/muxanick/orgs","repos_url":"https://api.github.com/users/muxanick/repos","events_url":"https://api.github.com/users/muxanick/events{/privacy}","received_events_url":"https://api.github.com/users/muxanick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/muxanick/scala-native","description":"Your favourite language gets closer to bare metal.","fork":true,"url":"https://api.github.com/repos/muxanick/scala-native","forks_url":"https://api.github.com/repos/muxanick/scala-native/forks","keys_url":"https://api.github.com/repos/muxanick/scala-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/muxanick/scala-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/muxanick/scala-native/teams","hooks_url":"https://api.github.com/repos/muxanick/scala-native/hooks","issue_events_url":"https://api.github.com/repos/muxanick/scala-native/issues/events{/number}","events_url":"https://api.github.com/repos/muxanick/scala-native/events","assignees_url":"https://api.github.com/repos/muxanick/scala-native/assignees{/user}","branches_url":"https://api.github.com/repos/muxanick/scala-native/branches{/branch}","tags_url":"https://api.github.com/repos/muxanick/scala-native/tags","blobs_url":"https://api.github.com/repos/muxanick/scala-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/muxanick/scala-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/muxanick/scala-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/muxanick/scala-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/muxanick/scala-native/statuses/{sha}","languages_url":"https://api.github.com/repos/muxanick/scala-native/languages","stargazers_url":"https://api.github.com/repos/muxanick/scala-native/stargazers","contributors_url":"https://api.github.com/repos/muxanick/scala-native/contributors","subscribers_url":"https://api.github.com/repos/muxanick/scala-native/subscribers","subscription_url":"https://api.github.com/repos/muxanick/scala-native/subscription","commits_url":"https://api.github.com/repos/muxanick/scala-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/muxanick/scala-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/muxanick/scala-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/muxanick/scala-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/muxanick/scala-native/contents/{+path}","compare_url":"https://api.github.com/repos/muxanick/scala-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/muxanick/scala-native/merges","archive_url":"https://api.github.com/repos/muxanick/scala-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/muxanick/scala-native/downloads","issues_url":"https://api.github.com/repos/muxanick/scala-native/issues{/number}","pulls_url":"https://api.github.com/repos/muxanick/scala-native/pulls{/number}","milestones_url":"https://api.github.com/repos/muxanick/scala-native/milestones{/number}","notifications_url":"https://api.github.com/repos/muxanick/scala-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/muxanick/scala-native/labels{/name}","releases_url":"https://api.github.com/repos/muxanick/scala-native/releases{/id}","deployments_url":"https://api.github.com/repos/muxanick/scala-native/deployments","created_at":"2017-05-01T19:47:04Z","updated_at":"2017-05-01T19:47:08Z","pushed_at":"2017-05-09T02:53:52Z","git_url":"git://github.com/muxanick/scala-native.git","ssh_url":"git@github.com:muxanick/scala-native.git","clone_url":"https://github.com/muxanick/scala-native.git","svn_url":"https://github.com/muxanick/scala-native","homepage":"http://scala-native.org","size":5578,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"scala-native:master","ref":"master","sha":"834affa4e023de233e70feb6dedce10c2b0470ae","user":{"login":"scala-native","id":17545605,"avatar_url":"https://avatars1.githubusercontent.com/u/17545605?v=3","gravatar_id":"","url":"https://api.github.com/users/scala-native","html_url":"https://github.com/scala-native","followers_url":"https://api.github.com/users/scala-native/followers","following_url":"https://api.github.com/users/scala-native/following{/other_user}","gists_url":"https://api.github.com/users/scala-native/gists{/gist_id}","starred_url":"https://api.github.com/users/scala-native/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala-native/subscriptions","organizations_url":"https://api.github.com/users/scala-native/orgs","repos_url":"https://api.github.com/users/scala-native/repos","events_url":"https://api.github.com/users/scala-native/events{/privacy}","received_events_url":"https://api.github.com/users/scala-native/received_events","type":"Organization","site_admin":false},"repo":{"id":27235687,"name":"scala-native","full_name":"scala-native/scala-native","owner":{"login":"scala-native","id":17545605,"avatar_url":"https://avatars1.githubusercontent.com/u/17545605?v=3","gravatar_id":"","url":"https://api.github.com/users/scala-native","html_url":"https://github.com/scala-native","followers_url":"https://api.github.com/users/scala-native/followers","following_url":"https://api.github.com/users/scala-native/following{/other_user}","gists_url":"https://api.github.com/users/scala-native/gists{/gist_id}","starred_url":"https://api.github.com/users/scala-native/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala-native/subscriptions","organizations_url":"https://api.github.com/users/scala-native/orgs","repos_url":"https://api.github.com/users/scala-native/repos","events_url":"https://api.github.com/users/scala-native/events{/privacy}","received_events_url":"https://api.github.com/users/scala-native/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scala-native/scala-native","description":"Your favorite language gets closer to bare metal.","fork":false,"url":"https://api.github.com/repos/scala-native/scala-native","forks_url":"https://api.github.com/repos/scala-native/scala-native/forks","keys_url":"https://api.github.com/repos/scala-native/scala-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scala-native/scala-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scala-native/scala-native/teams","hooks_url":"https://api.github.com/repos/scala-native/scala-native/hooks","issue_events_url":"https://api.github.com/repos/scala-native/scala-native/issues/events{/number}","events_url":"https://api.github.com/repos/scala-native/scala-native/events","assignees_url":"https://api.github.com/repos/scala-native/scala-native/assignees{/user}","branches_url":"https://api.github.com/repos/scala-native/scala-native/branches{/branch}","tags_url":"https://api.github.com/repos/scala-native/scala-native/tags","blobs_url":"https://api.github.com/repos/scala-native/scala-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scala-native/scala-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scala-native/scala-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/scala-native/scala-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scala-native/scala-native/statuses/{sha}","languages_url":"https://api.github.com/repos/scala-native/scala-native/languages","stargazers_url":"https://api.github.com/repos/scala-native/scala-native/stargazers","contributors_url":"https://api.github.com/repos/scala-native/scala-native/contributors","subscribers_url":"https://api.github.com/repos/scala-native/scala-native/subscribers","subscription_url":"https://api.github.com/repos/scala-native/scala-native/subscription","commits_url":"https://api.github.com/repos/scala-native/scala-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/scala-native/scala-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/scala-native/scala-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/scala-native/scala-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/scala-native/scala-native/contents/{+path}","compare_url":"https://api.github.com/repos/scala-native/scala-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scala-native/scala-native/merges","archive_url":"https://api.github.com/repos/scala-native/scala-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scala-native/scala-native/downloads","issues_url":"https://api.github.com/repos/scala-native/scala-native/issues{/number}","pulls_url":"https://api.github.com/repos/scala-native/scala-native/pulls{/number}","milestones_url":"https://api.github.com/repos/scala-native/scala-native/milestones{/number}","notifications_url":"https://api.github.com/repos/scala-native/scala-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scala-native/scala-native/labels{/name}","releases_url":"https://api.github.com/repos/scala-native/scala-native/releases{/id}","deployments_url":"https://api.github.com/repos/scala-native/scala-native/deployments","created_at":"2014-11-27T17:38:28Z","updated_at":"2017-05-09T07:57:47Z","pushed_at":"2017-05-09T09:39:01Z","git_url":"git://github.com/scala-native/scala-native.git","ssh_url":"git@github.com:scala-native/scala-native.git","clone_url":"https://github.com/scala-native/scala-native.git","svn_url":"https://github.com/scala-native/scala-native","homepage":"http://scala-native.org","size":4095,"stargazers_count":2766,"watchers_count":2766,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":158,"mirror_url":null,"open_issues_count":142,"forks":158,"open_issues":142,"watchers":2766,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scala-native/scala-native/pulls/691"},"html":{"href":"https://github.com/scala-native/scala-native/pull/691"},"issue":{"href":"https://api.github.com/repos/scala-native/scala-native/issues/691"},"comments":{"href":"https://api.github.com/repos/scala-native/scala-native/issues/691/comments"},"review_comments":{"href":"https://api.github.com/repos/scala-native/scala-native/pulls/691/comments"},"review_comment":{"href":"https://api.github.com/repos/scala-native/scala-native/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scala-native/scala-native/pulls/691/commits"},"statuses":{"href":"https://api.github.com/repos/scala-native/scala-native/statuses/e4745604c366d61386962b8f2a650252cd3c0393"}}}}
{"actor":{"display_login":"muxanick"}}