David Cramer 12 лет назад
Родитель
Сommit
3d6933da69
2 измененных файлов с 2 добавлено и 8 удалено
  1. 1 1
      .gitignore
  2. 1 7
      Makefile

+ 1 - 1
.gitignore

@@ -13,7 +13,7 @@ pip-log.txt
 /build
 /dist
 /node_modules/
-/src/sentry/static/CACHE/
 /docs/html
 /docs/doctrees
 example/db.sqlite
+/src/sentry/static/

+ 1 - 7
Makefile

@@ -4,14 +4,13 @@ STATIC_DIR = src/sentry/static/sentry
 BOOTSTRAP_JS = ${STATIC_DIR}/scripts/lib/bootstrap.js
 BOOTSTRAP_JS_MIN = ${STATIC_DIR}/scripts/lib/bootstrap.min.js
 UGLIFY_JS ?= node_modules/uglify-js/bin/uglifyjs
-LESS = node_modules/less/bin/lessc
 
 develop: update-submodules
 	npm install
 	pip install "file://`pwd`#egg=sentry[dev]"
 	pip install -e . --use-mirrors
 
-build: static locale
+build: locale
 
 clean:
 	rm -r src/sentry/static/CACHE
@@ -24,11 +23,6 @@ compile-bootstrap-js:
 	@cat src/bootstrap/js/bootstrap-transition.js src/bootstrap/js/bootstrap-alert.js src/bootstrap/js/bootstrap-button.js src/bootstrap/js/bootstrap-carousel.js src/bootstrap/js/bootstrap-collapse.js src/bootstrap/js/bootstrap-dropdown.js src/bootstrap/js/bootstrap-modal.js src/bootstrap/js/bootstrap-tooltip.js src/bootstrap/js/bootstrap-popover.js src/bootstrap/js/bootstrap-scrollspy.js src/bootstrap/js/bootstrap-tab.js src/bootstrap/js/bootstrap-typeahead.js src/bootstrap/js/bootstrap-affix.js ${STATIC_DIR}/scripts/bootstrap-datepicker.js > ${BOOTSTRAP_JS}
 	${UGLIFY_JS} -nc ${BOOTSTRAP_JS} > ${BOOTSTRAP_JS_MIN};
 
-
-static:
-	${LESS} --strict-imports ${STATIC_DIR}/less/sentry.less ${STATIC_DIR}/styles/sentry.css
-	@echo "Static assets successfully built! - `date`";
-
 install-test-requirements:
 	pip install "file://`pwd`#egg=sentry[tests]"