Docs
gama cli
Gama cli tool is what helps you to create, build, package and distribute projects with gama, it is built in V language and comes with prebuilt binaries for each platform which are copied to your project when it's created.
Creating projects
To create a project you will use the gama create command,
the assistant will ask you a few questions and then create
the project.
- Type in the name of your project, only letters, numbers and underscores are allowed, gama will automatically remove unallowed characters.
- Write a short description of your project
- Chose a template for creating your project, templates are gama projects with already working boilerplate code, so you don't have to start from nowhere, it will ask you for confirmation.
Notice the output will surely differ on your machine, you are asked to choose a default compier for your project.
And that's it, your project's generated.
Building projects
To build a gama project, you can use gama build command, it builds
your gama project using vgama backend and creates an executable at
build/native, in the same folder there will be a file named libvgama.
Which permits your c application to create a window and draw graphics, so
is of the utmost importance.
TIP
To build and run your project directly, you can use gama build -r.
More on the gama cli will be covered in the guides section.
