// Copyright 2014 The Gogs Authors. All rights reserved.// Use of this source code is governed by a MIT-style// license that can be found in the LICENSE file.// gogs(Go Git Service) is a Go clone of Github.packagemainimport("os""runtime""github.com/codegangsta/cli")// +build go1.1// Test that go1.1 tag above is included in builds. main.go refers to this definition.constgo11tag=trueconstAPP_VER="0.0.0.0220"funcinit(){runtime.GOMAXPROCS(runtime.NumCPU())}funcmain(){app:=cli.NewApp()app.Name="Gogs"app.Usage="Go Git Service"app.Version=APP_VERapp.Commands=[]cli.Command{CmdWeb,CmdServ,}app.Flags=append(app.Flags,[]cli.Flag{cli.BoolFlag{"noterm","disable color output"},}...)app.Run(os.Args)}