2020-02-23 23:29:32 +01:00
|
|
|
{ depot, briefcase, ... }:
|
2020-02-09 14:50:44 +01:00
|
|
|
|
2020-02-09 18:50:41 +01:00
|
|
|
let
|
|
|
|
auth = depot.buildGo.package {
|
|
|
|
name = "auth";
|
|
|
|
srcs = [
|
|
|
|
./auth.go
|
|
|
|
];
|
|
|
|
deps = with briefcase.gopkgs; [
|
|
|
|
utils
|
|
|
|
];
|
|
|
|
};
|
|
|
|
in depot.buildGo.program {
|
2020-02-09 14:50:44 +01:00
|
|
|
name = "token-server";
|
|
|
|
srcs = [
|
|
|
|
./tokens.go
|
|
|
|
];
|
|
|
|
deps = with briefcase.gopkgs; [
|
|
|
|
kv
|
2020-02-09 18:50:41 +01:00
|
|
|
utils
|
|
|
|
auth
|
2020-02-09 14:50:44 +01:00
|
|
|
];
|
|
|
|
}
|