Browse Source

build the symlink when needed..

main
John-Mark Gurney 5 years ago
parent
commit
939f45bb27
2 changed files with 5 additions and 1 deletions
  1. +1
    -0
      .gitignore
  2. +4
    -1
      Makefile

+ 1
- 0
.gitignore View File

@@ -5,3 +5,4 @@ p
.coverage
root/js/solardash.file.js
root/js/solardash.https.js
root/js/solardash.http.js

+ 4
- 1
Makefile View File

@@ -7,7 +7,7 @@ VRITUALENVARGS =

FILES=$(PROJNAME)/__init__.py

JSFILES = root/js/solardash.file.js root/js/solardash.https.js
JSFILES = root/js/solardash.file.js root/js/solardash.https.js root/js/solardash.http.js

THIRDPARTYJS = root/js/jquery.js root/js/highstock.js

@@ -20,6 +20,9 @@ root/js/highstock.js: Makefile
root/js/highcharts.js: Makefile
wget -O - "https://code.highcharts.com/stock/8.0.0/highcharts.js" | grep -v '^//# sourceMappingURL=' > $@ || (rm "$@"; false)

root/js/solardash.http.js: root/js/solardash.https.js
ln -s solardash.https.js $@

# manual deps
root/js/solardash.base.js: $(THIRDPARTYJS)
root/js/solardash.file.js: root/js/solardash.base.js


Loading…
Cancel
Save