mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-16 21:37:59 +08:00
* add unsafe-inline directive to style-src * debugging - turn on csp reporting * revert reporting only csp * do not inline JS and CSS in build * enable HTTPs only when in production mode * remove debug printf * fix clean target * revert force_https removal
19 lines
457 B
Makefile
19 lines
457 B
Makefile
include ../common.mk
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -f common/web/templates/index.html
|
|
rm -rf common/web/static
|
|
rm -f common/web/csp-hashes.json
|
|
|
|
.PHONY: unit-test
|
|
unit-test:
|
|
PYTHONWARNINGS=ignore:ResourceWarning coverage run \
|
|
--source=app,cli,common,compute,converters,data_anndata,data_common,data_cxg \
|
|
--omit=.coverage,data_common/fbs/NetEncoding,venv \
|
|
-m unittest discover \
|
|
--start-directory test/ \
|
|
--top-level-directory ../ \
|
|
--verbose
|
|
|