Skip to content

Commit

Permalink
Remove :nvd alias and check-vuln make target
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinqian00 committed Nov 27, 2024
1 parent 1c68ba9 commit 41d9f96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
13 changes: 5 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ resources/public/admin:
# All other phony targets run lrsql instances that can be used and tested
# during development. All start up with fixed DB properties and seed creds.

.phony: clean-dev, ci, ephemeral, ephemeral-prod, sqlite, postgres, bench, bench-async, check-vuln, keycloak-demo, ephemeral-oidc, superset-demo, clamav-demo, test-sqlite, test-postgres, test-postgres-11, test-postgres-12, test-postgres-13, test-postgres-14, test-postgres-15
.phony: clean-dev, ci, ephemeral, ephemeral-prod, sqlite, postgres, bench, bench-async, keycloak-demo, ephemeral-oidc, superset-demo, clamav-demo, test-sqlite, test-postgres, test-postgres-11, test-postgres-12, test-postgres-13, test-postgres-14, test-postgres-15

clean-dev:
rm -rf *.db *.log resources/public tmp target/nvd
Expand Down Expand Up @@ -95,13 +95,6 @@ bench-async:
-a true \
-u username -p password

# Vulnerability check

target/nvd:
clojure -Xnvd check :classpath '"'"$$(clojure -Spath -A:db-sqlite:db-postgres)"'"' :config-filename '".nvd/config.json"'

check-vuln: target/nvd

# Demo instance of Keycloak used for interactive development

keycloak-demo:
Expand Down Expand Up @@ -298,3 +291,7 @@ run-jar-postgres: target/bundle

pom.xml:
clojure -Adb-sqlite:db-postgres -Spom

# TODO: Add a local vulnerability checker.
# Note that we removed our previous one that used nvd-clojure as that app was
# becoming too unreliable; perhaps look into clj-watson?
3 changes: 0 additions & 3 deletions deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,6 @@
{:extra-deps {io.github.clojure/tools.build {:git/tag "v0.10.0"
:git/sha "3a2c484"}}
:extra-paths ["src/build"]}
:nvd
{:replace-deps {nvd-clojure/nvd-clojure {:mvn/version "2.6.0"}}
:ns-default nvd.task}
:doc
{:replace-deps {com.yetanalytics/markdoc {:git/url "https://github.com/yetanalytics/markdoc"
:git/tag "v0.0.1"
Expand Down

0 comments on commit 41d9f96

Please sign in to comment.