project

package
v1.0.12-0...-a064599 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ShowProjectTemplate = `` /* 635-byte string literal not displayed */

Functions

func MetadataExists

func MetadataExists(path string) (exists bool)

Types

type Project

type Project struct {
	Project_name         string              `yaml:project_name`
	Project_description  string              `yaml:project_description`
	Project_purpose      string              `yaml:project_purpose`
	Programming_language string              `yaml:programming_language`
	Project_framework    string              `yaml:project_framework`
	Organizational_unit  string              `yaml:organizational_unit`
	Package_dependencies map[string][]string `yaml:package_dependencies`
	Build_dependencies   map[string][]string `yaml:build_dependencies`
	Daemon               bool                `yaml:daemon`
	Systemd_unit_after   string              `yaml:systemd_unit_after`
	Sign_package         bool                `yaml:sign_package`
}

func LoadProject

func LoadProject(path string) (p Project)

func New

func New(ctx *cli.Context) (p Project)

func (*Project) GetSystemdUnitOrder

func (p *Project) GetSystemdUnitOrder() (s string)

func (Project) String

func (p Project) String() (s string)

func (Project) WriteFile

func (p Project) WriteFile(base string) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL