Merge pull request #233 from SirWumpus/rule_4_files

This commit is contained in:
Landon Curt Noll authored and GitHub committed 2025-11-21 04:32:56 -08:00
commit a3ad333208
1 file changed
+20 -15
+20 -15
View File
@@ -124,46 +124,51 @@ See [Rule 8 - Submission](rules.html#rule-8---submission).
</div> </div>
The submission **MUST** include at least these files: `Makefile`, `prog.c`, The submission **MUST** include at least these files: `Makefile`, `prog.c`,
`remarks.md`,`.info.json`, and `.auth.json`. The last two **MUST** be `remarks.md`,`.info.json`, and `.auth.json`.
generated by `mkiocccenty(1)` when packing a submission, and **MUST**
pass the `chksubmit(1)` tests.
The `Makefile`, `remarks.md`,`.info.json`, and `.auth.json` **MUST** At a minimum the following requirements apply. Additional requirements
may be imposed by `mkiocccentry(1)` updates that have yet to be listed
here:
* `.info.json`, and `.auth.json` **MUST** be generated by `mkiocccenty(1)`
when packing a submission, and **MUST** pass the `chksubmit(1)` tests.
* The `Makefile`, `remarks.md`,`.info.json`, and `.auth.json` **MUST**
have a file size **greater than 0**. have a file size **greater than 0**.
Your submitted source code **MUST** be called `prog.c`. When the `Makefile` * Your submitted source code **MUST** be called `prog.c`. When the `Makefile`
compiles your code, the executable (if applicable) **MUST** be called `prog`. compiles your code, the executable (if applicable) **MUST** be called `prog`.
The `Makefile` may compile your source code into other filenames as well. The `Makefile` may compile your source code into other filenames as well.
As `prog`, `prog.alt`, `prog.alt.o`, `prog.o` may be created by your * As `prog`, `prog.alt`, `prog.alt.o`, `prog.o` may be created by your
`Makefile`, your submission **MUST NOT** include those files in `Makefile`, your submission **MUST NOT** include those files in
your top directory, as original content. your top directory, as original content.
Your submission may **NOT** have any file that starts with `COPYING`, * Your submission may **NOT** have any file that starts with `COPYING`,
`COPYRIGHT`, or `LICENSE` as those files are reserved by IOCCC. `COPYRIGHT`, or `LICENSE` as those files are reserved by IOCCC.
Your submission may **NOT** have in the top directory, `prog.orig.c`, * Your submission may **NOT** have in the top directory, `prog.orig.c`,
`README.md`, nor `index.html` as those files reserved by IOCCC. `README.md`, nor `index.html` as those files reserved by IOCCC.
Your submission may **NOT** have in the top directory, any file * Your submission may **NOT** have in the top directory, any file
that matches a file glob pattern form `[0-9][0-9][0-9][0-9]_*.tar.bz2` that matches a file glob pattern form `[0-9][0-9][0-9][0-9]_*.tar.bz2`
as those files are reserved by IOCCC. as those files are reserved by IOCCC.
Your submission may **ONLY** contain files and directories. Other file * Your submission may **ONLY** contain files and directories. Other file
types such as symlinks, sockets, etc are **NOT** allowed. types such as symlinks, sockets, etc are **NOT** allowed.
All directories **MUST** have a file mode of **0755**. All files * All directories **MUST** have a file mode of **0755**. All files
**MUST** have the file mode of **0444**, except for files that **MUST** have the file mode of **0444**, except for files that
end in `.sh` which must have a mode of **0555**. end in `.sh` which must have a mode of **0555**.
All files that end in `.md` **MUST** be in markdown format. * All files that end in `.md` **MUST** be in markdown format.
We recommend that markdown files observe our We recommend that markdown files observe our
[IOCCC markdown guidelines](../markdown.html). [IOCCC markdown guidelines](../markdown.html).
All filenames are treated as case insensitive. For example, `REMARKS.MD`, * All filenames are treated as case insensitive. For example, `REMARKS.MD`,
and `Remarks.md`, and `remarks.md` are considered by `mkiocccenty(1)` and `Remarks.md`, and `remarks.md` are considered by `mkiocccenty(1)`
to be the **SAME** file. If you are preparing your submission on a case to be the **SAME** file. When preparing a submission on a case
sensitive filesystem, ensure that your submission will work on sensitive filesystem, ensure that the submission will work on
a case insensitive filesystem. a case insensitive filesystem.
The `remarks.md` and `Makefile` are explained in more detail in the Guidelines. The `remarks.md` and `Makefile` are explained in more detail in the Guidelines.