blob: a30e69ad162aa31dfcefed0bc8245d97c0b39d1b [file] [log] [blame]
package main
import (
"log"
"os"
"path/filepath"
"github.com/flynn/go-tuf/client/testdata/go-tuf/generator"
)
func main() {
cwd, err := os.Getwd()
if err != nil {
log.Fatal(err)
}
generator.Generate(filepath.Join(cwd, "consistent-snapshot-false"), "../keys.json", false)
generator.Generate(filepath.Join(cwd, "consistent-snapshot-true"), "../keys.json", true)
}