- TeX 54.9%
- Makefile 29.2%
- C++ 4.5%
- Typst 3.6%
- Dune 2.8%
- Other 5%
| c | ||
| cpp | ||
| java | ||
| latex | ||
| ocaml | ||
| python | ||
| rust | ||
| typescript | ||
| typst | ||
| Makefile | ||
| README.md | ||
Init projects!
C
Complete
This is the correct way to build an C program, with
.hand.cseparated.
Copy and paste c/complete/ directory, and you should be good to go!
- Remember to change executable's name and change std's target in
the
Makefile. - Run
maketo compile the program in release mode. - Run
make debugto compile the program in debug mode. - Run
make cleanto clean artifacts.
United
This is the quick & dirty way to build a C program, with no headers.
Copy and paste c/unity/ directory, and you should be good to go!
- Remember to change executable's name and change std's target in
the
Makefile. - Run
maketo compile the program in release mode. - Run
make debugto compile the program in debug mode. - Run
make cleanto clean artifacts.
C++
Copy and paste cpp/ directory, and you should be good to go!
- Remember to change executable's name and change std's target in
the
Makefile. - Run
maketo compile the program in release mode. - Run
make debugto compile the program in debug mode. - Run
make cleanto clean artifacts.
Java
Copy and paste java/ directory, and you should be good to go!
- Remember to change executable's name and change std's target in
the
Makefile. - Run
maketo build and run the program. - Run
make buildto only build the program. - Run
make cleanto clean artifacts.
LaTeX
Book
This is for complex document.
Copy and paste latex/book directory,
and you should be good to go!
- Run
maketo compile the document. - Run
make cleanto clean artifacts.
It is by default configured to output
book.pdf.
Document
This is for simple document.
Copy and paste latex/document directory,
and you should be good to go!
- Run
maketo compile the document. - Run
make cleanto clean artifacts.
It is by default configured to output
document.pdf.
Examen
This is for simple test.
Copy and paste latex/exam directory,
and you should be good to go!
- Run
maketo compile the document. - Run
make cleanto clean artifacts.
It is by default configured to output
test.pdf.
Presentation
This is for presentations.
Copy and paste latex/presentation directory,
and you should be good to go!
- Run
make updatepackageto download/update dependencie (projektor). - Run
maketo compile the document. - Run
make cleanto clean artifacts.
It is by default configured to build
slides.texand outputslides.pdf. There is a more advanced file with more examples namedslides_advanced.tex.
OCaml
Copy and paste ocaml/ directory, and you should be good to go!
- Remember to change values in the
dune-project. - Run
dune exec exampleto run the program. - Run
dune runtestto run tests.
Example of custom repository source:
(source (uri https://dev.example.com/project.git))
It's recommended to have this one as a "working example", and still create new projects via
dune init proj.
Python
Copy and paste python/ directory, and you should be good to go!
- Run
python main.pyto start the program.
It's recommended to use virtual environnement:
virtualenv .→ create the virtual env in the current folderactivate→ activate the virtual env- Now, it won't affect your other projects
Rust
Copy and paste rust/ directory, and you should be good to go!
- Remember to change values in the
Cargo.toml. - Run
cargo runto run the program.
It's recommended to have this one as a "working example", and still create new projects via
cargo new <directory>.
Typescript
Copy and paste typescript/ directory, and you should be good to go!
- Remember to change values in the
package.json. - Then, to install all the dependencies, run
npm install. - To check if there is any new update for dependencies, run
npm outdated, makes changes accordingly to run the latest version, you may need to runnpm updateto apply the updates after the modification ofpackage.json. - Run
npm run mainto start the program.
Typst
Copy and paste typst/ directory, and you should be good to go!
Document
This is for simple document.
Copy and paste typst/document directory,
and you should be good to go!
- Run
maketo compile the document. - Run
make cleanto clean artifacts.
It is by default configured to output
document.pdf.
Contribution? Yes, please!