{"id":13992775,"url":"https://github.com/Seasawher/import-all","last_synced_at":"2025-07-22T16:31:59.917Z","repository":{"id":215791452,"uuid":"739782970","full_name":"Seasawher/import-all","owner":"Seasawher","description":"This script can check and auto-generate `import` statements in a lean4 repository. ","archived":false,"fork":false,"pushed_at":"2024-03-27T12:43:40.000Z","size":17,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-10T14:11:39.667Z","etag":null,"topics":["lean","lean4"],"latest_commit_sha":null,"homepage":"","language":"Lean","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Seasawher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-01-06T14:29:33.000Z","updated_at":"2024-06-05T11:40:09.000Z","dependencies_parsed_at":"2024-03-27T13:59:23.211Z","dependency_job_id":null,"html_url":"https://github.com/Seasawher/import-all","commit_stats":null,"previous_names":["seasawher/import-all"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seasawher%2Fimport-all","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seasawher%2Fimport-all/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seasawher%2Fimport-all/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seasawher%2Fimport-all/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Seasawher","download_url":"https://codeload.github.com/Seasawher/import-all/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227133896,"owners_count":17735823,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lean","lean4"],"created_at":"2024-08-09T14:02:07.965Z","updated_at":"2024-11-29T13:31:15.672Z","avatar_url":"https://github.com/Seasawher.png","language":"Lean","funding_links":[],"categories":["Lean"],"sub_categories":[],"readme":"# import-all\n\nThis is not my original. see [yatima](https://github.com/lurk-lab/yatima/blob/main/lakefile.lean)\n\n* Almost all of this script is taken from \u003chttps://github.com/lurk-lab/yatima/blob/main/lakefile.lean\u003e.\n* \u003chttps://github.com/lurk-lab/yatima\u003e is licensed under the MIT license.\n\n## how to use this\n\nAdd this repository to your `lakefile`:\n\n```lean\nrequire «import-all» from git\n  \"https://github.com/Seasawher/import-all\" @ \"main\"\n```\n\nDon't forget to run `lake update import-all` after editing the `lakefile`.\n\nNow you can run `lake exe import_all \u003cinput_dir\u003e` and `lake exe import_check \u003cinput_dir\u003e`.\n\n* `import_all` auto generate `import` statements for lean files in `\u003cinput_dir\u003e`\n\n* `import_check` is mainly for CI. This command checks to see if the lean files in `\u003cinput_dir\u003e` have been imported correctly.\n\n## You may not need to use this repository\n\nWhat are you going to use this script for? If you want to ensure that all files are built every time you run `lake build`, this repository is not necessary. Instead, add the following settings to your `lakefile`. (replace `YourProject` with your project directory name 😃)\n\n```lean\n@[default_target]\nlean_lib «YourProject» where\n  globs := #[.submodules `YourProject]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSeasawher%2Fimport-all","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSeasawher%2Fimport-all","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSeasawher%2Fimport-all/lists"}