{"action":"created","issue":{"url":"https://api.github.com/repos/purescript/purescript/issues/1756","labels_url":"https://api.github.com/repos/purescript/purescript/issues/1756/labels{/name}","comments_url":"https://api.github.com/repos/purescript/purescript/issues/1756/comments","events_url":"https://api.github.com/repos/purescript/purescript/issues/1756/events","html_url":"https://github.com/purescript/purescript/issues/1756","id":123609310,"number":1756,"title":"`psci` should be easier to use globally and/or when a project directory fails to build","user":{"login":"chrisdotcode","id":1936426,"avatar_url":"https://avatars.githubusercontent.com/u/1936426?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdotcode","html_url":"https://github.com/chrisdotcode","followers_url":"https://api.github.com/users/chrisdotcode/followers","following_url":"https://api.github.com/users/chrisdotcode/following{/other_user}","gists_url":"https://api.github.com/users/chrisdotcode/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdotcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdotcode/subscriptions","organizations_url":"https://api.github.com/users/chrisdotcode/orgs","repos_url":"https://api.github.com/users/chrisdotcode/repos","events_url":"https://api.github.com/users/chrisdotcode/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdotcode/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/purescript/purescript/labels/psci","name":"psci","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/purescript/purescript/milestones/12","html_url":"https://github.com/purescript/purescript/milestones/Discussion","labels_url":"https://api.github.com/repos/purescript/purescript/milestones/12/labels","id":1373373,"number":12,"title":"Discussion","description":"Longer discussions on the direction of the project, etc.","creator":{"login":"paf31","id":630306,"avatar_url":"https://avatars.githubusercontent.com/u/630306?v=3","gravatar_id":"","url":"https://api.github.com/users/paf31","html_url":"https://github.com/paf31","followers_url":"https://api.github.com/users/paf31/followers","following_url":"https://api.github.com/users/paf31/following{/other_user}","gists_url":"https://api.github.com/users/paf31/gists{/gist_id}","starred_url":"https://api.github.com/users/paf31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paf31/subscriptions","organizations_url":"https://api.github.com/users/paf31/orgs","repos_url":"https://api.github.com/users/paf31/repos","events_url":"https://api.github.com/users/paf31/events{/privacy}","received_events_url":"https://api.github.com/users/paf31/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":3,"state":"open","created_at":"2015-10-23T21:40:18Z","updated_at":"2015-12-27T20:54:45Z","due_on":null,"closed_at":null},"comments":19,"created_at":"2015-12-23T06:36:05Z","updated_at":"2016-01-10T18:55:24Z","closed_at":null,"body":"`pulp psci` is nice, but it isn't when you need to test something in a REPL, but can't because your build is broken (and it's probably broken because you were in the middle of needing to test something in a REPL...).\r\n\r\nFurthermore, it's a giant detriment to adoption that `psci` ***doesn't*** immediately work out of the box without installing `purescript-console` (and it didn't even work for me when I *did* try doing `bower install -g purescript-console`).\r\n\r\nI propose that 1. `pulp psci` first attempts to build, and if that fails, falls back to a global variant of `psci`, and that 2. `psci` works immediately globally, after a fresh purescript install by installing `purescript-console` with it, and creating a global `.psci` file that imports `Prelude` defaultly.\r\n\r\nAs a tangential request, `.psci` shouldn't pollute `$HOME`, but should be in `.config/purescript/psci` or wherever that OS stores configs. I - *ahem* - know a [great module](https://github.com/chrisdotcode/cone) that does that in a cross-platform way."},"comment":{"url":"https://api.github.com/repos/purescript/purescript/issues/comments/170381834","html_url":"https://github.com/purescript/purescript/issues/1756#issuecomment-170381834","issue_url":"https://api.github.com/repos/purescript/purescript/issues/1756","id":170381834,"user":{"login":"hdgarrood","id":1270186,"avatar_url":"https://avatars.githubusercontent.com/u/1270186?v=3","gravatar_id":"","url":"https://api.github.com/users/hdgarrood","html_url":"https://github.com/hdgarrood","followers_url":"https://api.github.com/users/hdgarrood/followers","following_url":"https://api.github.com/users/hdgarrood/following{/other_user}","gists_url":"https://api.github.com/users/hdgarrood/gists{/gist_id}","starred_url":"https://api.github.com/users/hdgarrood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdgarrood/subscriptions","organizations_url":"https://api.github.com/users/hdgarrood/orgs","repos_url":"https://api.github.com/users/hdgarrood/repos","events_url":"https://api.github.com/users/hdgarrood/events{/privacy}","received_events_url":"https://api.github.com/users/hdgarrood/received_events","type":"User","site_admin":false},"created_at":"2016-01-10T18:55:24Z","updated_at":"2016-01-10T18:55:24Z","body":"I don't understand your second point, could you explain that a bit more?\r\n\r\nWe are all agreed that psci should load what it can if there are compile errors in some of the modules. That's a separate issue, though. Can we please keep it out of this discussion?"}}