Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit 1f54edf

Browse files
author
Max Schaefer
committed
Add make target for synchronising data-flow libraries.
1 parent 63fddfc commit 1f54edf

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,10 @@ build/testdb/go.dbscheme: upgrades/initial/go.dbscheme
109109
rm -rf build/testdb
110110
echo >build/empty.trap
111111
codeql dataset import -S upgrades/initial/go.dbscheme build/testdb build/empty.trap
112+
113+
.PHONY: sync-dataflow-libraries
114+
sync-dataflow-libraries:
115+
for f in DataFlowImpl.qll DataFlowImplCommon.qll tainttracking1/TaintTrackingImpl.qll;\
116+
do\
117+
curl -s -o ./ql/src/semmle/go/dataflow/internal/$$f https://raw.githubusercontent.com/github/codeql/master/java/ql/src/semmle/code/java/dataflow/internal/$$f;\
118+
done

0 commit comments

Comments
 (0)