include generated js in aqt_data
This commit is contained in:
parent
4cc9e2a780
commit
1f4f5b8c45
2
qt/.gitignore
vendored
2
qt/.gitignore
vendored
@ -20,6 +20,8 @@ aqt_data/web/reviewer-bottom.js
|
||||
aqt_data/web/reviewer.js
|
||||
aqt_data/web/webview.js
|
||||
aqt_data/web/toolbar.js
|
||||
aqt_data/web/graphs*
|
||||
aqt_data/web/*.css
|
||||
dist
|
||||
aqt.egg-info
|
||||
build
|
||||
|
@ -134,14 +134,16 @@ CHECKDEPS := $(shell "${FIND}" aqt tests -name '*.py' | grep -v buildinfo.py)
|
||||
.PHONY: build
|
||||
build: .build/build
|
||||
|
||||
.build/build: $(BUILD_STEPS) $(CHECKDEPS)
|
||||
.build/build: $(BUILD_STEPS) $(CHECKDEPS) $(wildcard ../ts/dist/*)
|
||||
rm -rf dist build
|
||||
rsync -a ../ts/dist/ aqt_data/web/
|
||||
python setup.py -q bdist_wheel
|
||||
rsync -a dist/*.whl ../dist/
|
||||
touch $@
|
||||
|
||||
.PHONY: develop
|
||||
develop: $(BUILD_STEPS)
|
||||
develop: $(BUILD_STEPS) $(wildcard ../ts/dist/*)
|
||||
rsync -a ../ts/dist/ aqt_data/web/
|
||||
|
||||
aqt/buildinfo.py: ../meta/version ../meta/buildhash
|
||||
echo "buildhash='$$(cat ../meta/buildhash)'" > $@
|
||||
|
2
qt/aqt_data/web/.gitignore
vendored
2
qt/aqt_data/web/.gitignore
vendored
@ -1,2 +0,0 @@
|
||||
*.css
|
||||
|
@ -37,7 +37,7 @@ build: .build/build
|
||||
PHONY: develop
|
||||
develop: .build/build
|
||||
|
||||
.build/build: .build/proto $(BUILDDEPS) $(wildcard src/*/*.svelte src/*/*.ts)
|
||||
.build/build: .build/proto $(BUILDDEPS) $(wildcard src/*/*.svelte src/*/*.ts src/*/*.css)
|
||||
npm run build
|
||||
@touch $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user