// Package Packages the certificate authority files into a zip archive
Package Packages the certificate authority files into a zip archive
// Package Packages the certificate authority files into a zip archive
func Package() error {
	if modified, err := target.Path("sshrimp-ca", config.GetPath()); err == nil && !modified {
		return nil
	}
	mg.Deps(Build, Config)
	zipFile, err := os.Create("sshrimp-ca.zip")
	if err != nil {
		return err
	}
	defer zipFile.Close()
	if err := lambdaCreateArchive(zipFile, "sshrimp-ca", config.GetPath()); err != nil {
		return err
	}
	return nil
}
func Package ( ) error { if modified , err := target . Path ( " " , config . GetPath ( ) ) ; err == nil && ! modified { return nil } mg . Deps ( Build , Config ) zipFile , err := os . Create ( " " ) if err != nil { return err } defer zipFile . Close ( ) if err := lambdaCreateArchive ( zipFile , " " , config . GetPath ( ) ) ; err != nil { return err } return nil }
Package Packages the certificate authority files into a zip archive
Package Packages the certificate authority files into a zip archive