diff --git a/Makefile b/Makefile index 43f7d0af..4a0cf328 100644 --- a/Makefile +++ b/Makefile @@ -72,17 +72,6 @@ patch: clean apply-patch apply-patch: cp -r $(PATCH_SOURCE_DIR)/* $(SUPERSET_DIR)/ -# Copy src-d files in the superset repository using symlinks. it's useful for development. -# Allows to run flask locally and work only inside superset directory. -.PHONY: patch-dev -patch-dev: clean - @diff=`diff -r $(PATCH_SOURCE_DIR) $(SUPERSET_DIR) | grep "$(PATCH_SOURCE_DIR)" | awk '{gsub(/: /,"/");print $$3}'`; \ - for file in $${diff}; do \ - to=`echo $${file} | cut -d'/' -f2-`; \ - ln -s "$(PWD)/$${file}" "$(SUPERSET_DIR)/$${to}"; \ - done; \ - ln -s "$(PWD)/$(PATCH_SOURCE_DIR)/superset/superset_config_dev.py" "$(SUPERSET_DIR)/superset_config.py"; \ - # Start a watcher that will run 'make apply-patch' automatically when 'srcd' changes # It will require either inotify or fswatch. More info in CONTRIBUTING.md .PHONY: watch diff --git a/srcd/superset/superset_config_dev.py b/srcd/superset/superset_config_dev.py deleted file mode 100644 index 401c86dc..00000000 --- a/srcd/superset/superset_config_dev.py +++ /dev/null @@ -1,11 +0,0 @@ -GITBASE_DATABASE_URI = 'mysql://root@127.0.0.1:3306/gitbase' -BBLFSH_WEB_ADDRESS = 'http://127.0.0.1:9999' -WTF_CSRF_EXEMPT_LIST = ['superset.bblfsh.views.api'] - - -def mutator(): - # pylint: disable=unused-variable - from superset.bblfsh import views # noqa - - -FLASK_APP_MUTATOR = mutator