|
||||||||
|
||||||||
Last edition : 2010/02/11 21:47
GG is a builder for the go language. It makes easy to build your go files into an executable. It's released under the terms of the BSD License. GG is not as powerful as make ;-). But it lets you build a simple file or a simple project. Projects can be described in the yaml language. features :
Documentation3 ways of use : Build and run one file
GG will simply compile, build (an executable named Note : you can use the "-m" switch to just make the executable (don't run). Run gg'makefile projectgg'makefile is a kind of makefile in the yaml language. It helps you to describe your build. You can create a simple yaml file, "makefile.gg" like that :
and run GG like that:
GG will compile module1.a with (with gX.go files), compile module2.a (with h1.go), and will build the executable Run shebang's line projectBut sometimes, you don't have time to create a makefile, or you don't want to reconfigure your environment or your editor. But you just want to compile files together. You can do that by creating "shebang's line project". In fact, you describe your project in the first line of your file, using the yaml one line syntax : You can write something like that :
and if you run :
GG will create the "module.a", using f Command line switches
Notes
Download & installto build it :
or using gg:
Changelog
|
||||||||
|