Tired of searching how to start a project in a specified language? Welcome!
c | ||
cpp | ||
ocaml | ||
typescript | ||
README.md |
Init projects!
C
Copy and paste c/
directory, and you should be good to go!
- Remember to change executable's name and change std's target in
the
Makefile
. - Run
make
to compile the program. - Run
make dev
to compile the program in debug mode. - Run
make clean
to clean artifacts.
Note that in headers, the syntax is
PROJECTNAME_FILENAME_H
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
make
to compile the program. - Run
make dev
to compile the program in debug mode. - Run
make clean
to clean artifacts.
Note that in headers, the syntax is
PROJECTNAME_FILENAME_HPP
OCaml
Copy and paste ocaml/
directory, and you should be good to go!
- Remember to change values in the
dune-project
. - Run
dune exec example
to run the program. - Run
dune runtest
to run tests.
Example of custom repository source:
(source (uri https://dev.example.com/project.git))
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 update
to apply the updates after the modification ofpackage.json
. - Run
npm run main
to start the program.
Contribution? Yes, please!