Spaces:
Runtime error
Runtime error
File size: 602 Bytes
09c3816 2d8fa9a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# Note: This is meant for codeql_kernel developer use only
.PHONY: data-files build install clean test
data-files: clean
mkdir -p jupyter-data/share/jupyter/kernels/codeql
cp codeql_kernel/kernel.json jupyter-data/share/jupyter/kernels/codeql
cp codeql_kernel/images/* jupyter-data/share/jupyter/kernels/codeql/
install: data-files
pip3 install tree_sitter
python3 build_treesitter.py
pip3 install -e ".[test]"
clean:
rm -rf jupyter-data
rm -rf build
rm -rf dist
build: data-files
pip3 install build twine
python3 -m build .
twine check --strict dist/*
test: clean
pytest
make clean |