Skip to content

nulloop/goober

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Goober

Tired of none-sense Makefile syntax and I want to build and configure my application using golang not making complex Makefile and bash scripts. This project is created out of THE frusration of dealing with bash and makefile syntax.

The fun part is you can Yum boring build process and Burp the result :P

package main

import (
	"log"

	"github.com/nulloop/goober"
)

func main() {
	peanut, err := goober.New()
	if err != nil {
		log.Fatal(err)
	}

	err = peanut.
		Yum("touch").
		Yum("./awesome.txt").
		Burp()

	if err != nil {
		log.Fatal(err)
	}

	err = peanut.
		Yum(`

      touch ./awesome2.txt

    `).
		Burp()

	if err != nil {
		log.Fatal(err)
	}
}

About

yum and burp your makefile, no more Makefile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages