mirror of
https://github.com/jimeh/build-emacs-for-macos.git
synced 2026-02-19 09:36:42 +00:00
This will eventually replace the build-emacs-for-macos script that's written in Ruby. The migration of functionality will happen bit by bit over time.
25 lines
330 B
Go
25 lines
330 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"github.com/jimeh/build-emacs-for-macos/pkg/cli"
|
|
)
|
|
|
|
var (
|
|
version string
|
|
commit string
|
|
date string
|
|
)
|
|
|
|
func main() {
|
|
cliInstance := cli.New(version, commit, date)
|
|
|
|
err := cliInstance.Run(os.Args)
|
|
if err != nil {
|
|
fmt.Fprintf(os.Stderr, "ERROR: %s\n", err.Error())
|
|
os.Exit(1)
|
|
}
|
|
}
|