{"action":"created","issue":{"url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/1941","labels_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/1941/labels{/name}","comments_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/1941/comments","events_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/1941/events","html_url":"https://github.com/camptocamp/c2cgeoportal/issues/1941","id":127654073,"number":1941,"title":"[1.6.7rc6] - Error when compiling js from scratch","user":{"login":"kalbermattenm","id":1681332,"avatar_url":"https://avatars.githubusercontent.com/u/1681332?v=3","gravatar_id":"","url":"https://api.github.com/users/kalbermattenm","html_url":"https://github.com/kalbermattenm","followers_url":"https://api.github.com/users/kalbermattenm/followers","following_url":"https://api.github.com/users/kalbermattenm/following{/other_user}","gists_url":"https://api.github.com/users/kalbermattenm/gists{/gist_id}","starred_url":"https://api.github.com/users/kalbermattenm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalbermattenm/subscriptions","organizations_url":"https://api.github.com/users/kalbermattenm/orgs","repos_url":"https://api.github.com/users/kalbermattenm/repos","events_url":"https://api.github.com/users/kalbermattenm/events{/privacy}","received_events_url":"https://api.github.com/users/kalbermattenm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/camptocamp/c2cgeoportal/milestones/39","html_url":"https://github.com/camptocamp/c2cgeoportal/milestones/1.6.7","labels_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/milestones/39/labels","id":1366433,"number":39,"title":"1.6.7","description":null,"creator":{"login":"sbrunner","id":353872,"avatar_url":"https://avatars.githubusercontent.com/u/353872?v=3","gravatar_id":"","url":"https://api.github.com/users/sbrunner","html_url":"https://github.com/sbrunner","followers_url":"https://api.github.com/users/sbrunner/followers","following_url":"https://api.github.com/users/sbrunner/following{/other_user}","gists_url":"https://api.github.com/users/sbrunner/gists{/gist_id}","starred_url":"https://api.github.com/users/sbrunner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbrunner/subscriptions","organizations_url":"https://api.github.com/users/sbrunner/orgs","repos_url":"https://api.github.com/users/sbrunner/repos","events_url":"https://api.github.com/users/sbrunner/events{/privacy}","received_events_url":"https://api.github.com/users/sbrunner/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":85,"state":"open","created_at":"2015-10-20T15:01:07Z","updated_at":"2016-01-20T13:42:24Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2016-01-20T10:38:45Z","updated_at":"2016-01-20T15:51:34Z","closed_at":"2016-01-20T13:28:26Z","body":"When doing a `make ... clean` followed by `make ... build` or when installing an instance from scratch, the `build` folder in the `static` folder is removed or does not exist yet.\r\n\r\nOn Windows (using Cygwin), this might trigger an error when `make`is rebuilding the compiled `app.js` file. It complains that the `build` folder is not existing.\r\n\r\nWould it be possible to check if this `build` folder exists and if not create it before compiling/copying `app.js` to this folder ?"},"comment":{"url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/comments/173246111","html_url":"https://github.com/camptocamp/c2cgeoportal/issues/1941#issuecomment-173246111","issue_url":"https://api.github.com/repos/camptocamp/c2cgeoportal/issues/1941","id":173246111,"user":{"login":"sbrunner","id":353872,"avatar_url":"https://avatars.githubusercontent.com/u/353872?v=3","gravatar_id":"","url":"https://api.github.com/users/sbrunner","html_url":"https://github.com/sbrunner","followers_url":"https://api.github.com/users/sbrunner/followers","following_url":"https://api.github.com/users/sbrunner/following{/other_user}","gists_url":"https://api.github.com/users/sbrunner/gists{/gist_id}","starred_url":"https://api.github.com/users/sbrunner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbrunner/subscriptions","organizations_url":"https://api.github.com/users/sbrunner/orgs","repos_url":"https://api.github.com/users/sbrunner/repos","events_url":"https://api.github.com/users/sbrunner/events{/privacy}","received_events_url":"https://api.github.com/users/sbrunner/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T15:51:34Z","updated_at":"2016-01-20T15:51:34Z","body":"`$@` is the file we want to generate eg: `proj/static/build/app.js`\r\n`$(dir <file>)` is the directory of the fileeg: `$(dir proj/static/build/app.js)`=> `proj/static/build/`\r\n\r\nYou can also add `@echo $(dir $@)` to see the current value..."}}