From 2fe02db9a3b57b058d7a5ce462fc15c1c99b9707 Mon Sep 17 00:00:00 2001 From: Marco Dickert Date: Thu, 13 Jul 2017 11:32:37 +0200 Subject: [PATCH] Created Contributing (markdown) --- Contributing.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Contributing.md diff --git a/Contributing.md b/Contributing.md new file mode 100644 index 0000000..20fed83 --- /dev/null +++ b/Contributing.md @@ -0,0 +1,18 @@ +# introduction +The source code of the IFM is a bit different from other projects you might know. Historically I developed it literally in one single file. As this became very confusing, I splitted the parts up into the `src` directory and searched for a nice way to compile it into a single file in the end. Other single-file script solutions, like [Adminer](https://github.com/vrana/adminer), use custom compilers for their scripts, so I decided to do it in a similar way. + +## compiler +The compiler script is written in PHP and does essentialy three things: +* replace the includes with actual file content +* concat PHP files while removing the first line (`