Define a plugin compiler.

This commit is contained in:
jregan
2019-04-07 11:16:50 -07:00
committed by Jeffrey Regan
parent 1623f1e4c0
commit 175c754f61
9 changed files with 259 additions and 107 deletions

View File

@@ -34,7 +34,7 @@ func TestConfigDirNoXdg(t *testing.T) {
}
if !strings.HasSuffix(
s,
rootedPath(defaultConfigSubdir, PgmName)) {
rootedPath(defaultConfigSubdir, ProgramName)) {
t.Fatalf("unexpected config dir: %s", s)
}
}
@@ -50,7 +50,7 @@ func TestConfigDirWithXdg(t *testing.T) {
if isSet {
os.Setenv(XDG_CONFIG_HOME, xdg)
}
if s != rootedPath("blah", PgmName) {
if s != rootedPath("blah", ProgramName) {
t.Fatalf("unexpected config dir: %s", s)
}
}