Skip to content

Commit fd14479

Browse files
authored
feat(app2): introduce app2-check-watch (#4579)
2 parents 53ead4c + a4ea730 commit fd14479

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

app2/app2.nix

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,22 @@ _: {
9090
'';
9191
};
9292
};
93+
app2-check-watch = {
94+
type = "app";
95+
program = pkgs.writeShellApplication {
96+
name = "app-check-watch";
97+
runtimeInputs = deps;
98+
text = ''
99+
${ensureAtRepositoryRoot}
100+
cd app2/
101+
export PUBLIC_DATADOG_CLIENT_TOKEN="${PUBLIC_DATADOG_CLIENT_TOKEN}"
102+
export PUBLIC_GIT_REV="${PUBLIC_GIT_REV}"
103+
export PUBLIC_LAST_MODIFIED_DATE="${PUBLIC_LAST_MODIFIED_DATE}"
104+
export PUBLIC_LAST_MODIFIED_EPOCH="${PUBLIC_LAST_MODIFIED_EPOCH}"
105+
pnpm run check --watch --threshold warning
106+
'';
107+
};
108+
};
93109
app2-fetch-schema = {
94110
type = "app";
95111
program = pkgs.writeShellApplication {

0 commit comments

Comments
 (0)