Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samteb committed Feb 16, 2024
1 parent 5e35614 commit 784024f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions apps/authz/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,13 @@ authz/rego/build:
authz/rego/eval:
npx ts-node \
--compiler-options "{\"module\":\"CommonJS\"}" \
${AUTHZ_PROJECT_DIR}/src/opa/rego/script.ts
${AUTHZ_PROJECT_DIR}/src/opa/template/evaluation.script.ts

authz/rego/translate:
npx dotenv -e ${AUTHZ_PROJECT_DIR}/.env -- \
ts-node -r tsconfig-paths/register \
--project ${AUTHZ_PROJECT_DIR}/tsconfig.app.json ${AUTHZ_PROJECT_DIR}/src/opa/template/translate-legacy-policy.script.ts


authz/rego/test:
opa test \
Expand All @@ -91,7 +97,3 @@ authz/rego/test:
authz/rego/test/watch:
make authz/rego/test ARGS=--watch

authz/rego/translate-legacy-policy:
npx dotenv -e ${AUTHZ_PROJECT_DIR}/.env -- \
ts-node -r tsconfig-paths/register \
--project ${AUTHZ_PROJECT_DIR}/tsconfig.app.json ${AUTHZ_PROJECT_DIR}/src/opa/template/translate-legacy-policy.script.ts

0 comments on commit 784024f

Please sign in to comment.