{"id":13460048,"url":"https://github.com/0x050f/libft-war-machine","last_synced_at":"2025-03-24T18:32:59.373Z","repository":{"id":44806661,"uuid":"214111739","full_name":"0x050f/libft-war-machine","owner":"0x050f","description":"forked repository of libftest (by jtoty) for libft at 42","archived":false,"fork":false,"pushed_at":"2024-07-06T15:32:11.000Z","size":236,"stargazers_count":207,"open_issues_count":6,"forks_count":45,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-01T10:20:03.072Z","etag":null,"topics":["42","libft","libft-unit-test","libft-war-machine","libftest"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0x050f.png","metadata":{"files":{"readme":"README.md","changelog":"changelog","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"supported_functions.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-10T07:07:04.000Z","updated_at":"2024-07-24T17:38:36.000Z","dependencies_parsed_at":"2024-06-29T17:03:52.662Z","dependency_job_id":null,"html_url":"https://github.com/0x050f/libft-war-machine","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x050f%2Flibft-war-machine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x050f%2Flibft-war-machine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x050f%2Flibft-war-machine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x050f%2Flibft-war-machine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x050f","download_url":"https://codeload.github.com/0x050f/libft-war-machine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222004114,"owners_count":16914872,"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":["42","libft","libft-unit-test","libft-war-machine","libftest"],"created_at":"2024-07-31T10:00:34.640Z","updated_at":"2024-10-29T06:30:20.416Z","avatar_url":"https://github.com/0x050f.png","language":"Shell","funding_links":[],"categories":["WELCOME"],"sub_categories":["**Libft**"],"readme":"# PREAMBLE\nThis is an edit of prev libftest made by @jtoty to fit with the 2019 project libft. \u003cbr/\u003e\n(ORIGINAL REP : https://github.com/jtoty/Libftest) \u003cbr/\u003e\nThis update was made by @lmartin \u003cbr/\u003e\n\n# libft-war-machine\n\u003cimg align=\"right\" src=\"./srcs/img_readme.png\" width=\"50%\"/\u003e\nThis repository contains script to test your libft project.\nThe script will do the following tests :\n\n- Check if the author file exists\n- Check content of the author file\n- Check if libft.h exists\n- Check norme of libft.h\n- Check if the Makefile file exists\n- Check rules in Makefile\n- Check compilation's flag in Makefile\n- Compil library\n- Check norme errors\n- Check forbidden functions\n- Tests functions\n\nAt the end of the tests, a deepthought file will be created, inside which you\ncan find all the results and error/failure messages. You can also see your\nresults in tests directory.\n\nThe script will compil your files with your libft, so you must have your\nMakefile up to date.\n\n:warning:All the tests made are not the official tests:warning:\n\n## Getting Started\n\n### Installation\n\n```bash\ngit clone https://github.com/y3ll0w42/libft-war-machine\n```\n\n### Configuration\n\nIf you run the script for the first time, it will automatically create\n`my_config.sh` file and ask you to edit it with the path of your libft\nproject.\nYou can also choose the colors that will be used and the path where the\ndeepthought file will be created.\n\n#### Custom directories\n\nIf you use custom directories for your header and source files; you should specify there name in my_config.sh.\n\nThe following variables must be set:\n```\nHEADER_DIR\nSRC_DIR\n```\nExemple:\n```\nHEADER_DIR=\"includes\"\nSRC_DIR=\"srcs\"\n```\n\n\n## Running script\n\nGo to the directory where you cloned and run the script\n```bash\nbash grademe.sh\n```\nor simply run the script with the path\n```bash\nbash /path/where/you/cloned/grademe.sh\n```\n\n### Options available\n| Option | Description |\n| --- | --- |\n| `-h`\u003cbr /\u003e`--help` | Display help and exit |\n| `-d` | Allows to perform the tests even if the files are in directories |\n| `-c` | Disable color |\n| `-s` | Disable searching Makefile and author files |\n| `-m` | When compiling library, test all the Makefile's rules (instead of doing only make re and checking if other rules exist). |\n| `-l` | Disable compiling library |\n| `-f` | Disable checking forbidden functions |\n| `-n` | Disable norminette |\n| `-u` | Disable checking updates at launch |\n| `-p1` | Disable part 1 tests |\n| `-p2` | Disable part 2 tests |\n| `-b`| Disable bonus part tests |\n| `-a` | Disable additional part tests |\n| `-op1`| Do only part 1 tests |\n| `-op2`| Do only part 2 tests |\n| `-ob` | Do only bonus part tests |\n| `-oa` | Do only additional part tests |\n| `ft_function` | Test only this function |\n\nAdd successively all options you want, in the order you want.\nFor example :\n```bash\nbash grademe.sh ft_atoi -f ft_strlen -n\n```\n\n### Supported functions\nAll the supported functions are listed [on this page](https://github.com/y3ll0w42/libft-war-machine/blob/master/supported_functions.md).\n## Contribution\n\nAny suggestions or bugs reporting ?\nContact lmartin@student.42.fr\n\n### Contributors\n- jtoty : https://github.com/jtoty\n- jmichaud : https://github.com/MrJe\n- tlernoul\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x050f%2Flibft-war-machine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x050f%2Flibft-war-machine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x050f%2Flibft-war-machine/lists"}