X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=src%2FMakefile;h=41b4dc2eef941a77bea762047b0e635c45cf6a2e;hb=8f30708d445d7bafa6d89ab80606bae676279721;hp=d782e9205992686b6d85787907c07c1511d75f87;hpb=60fead29a8d25e209b082c7775624a4b340e49e6;p=proxmox-widget-toolkit.git diff --git a/src/Makefile b/src/Makefile index d782e92..41b4dc2 100644 --- a/src/Makefile +++ b/src/Makefile @@ -2,10 +2,15 @@ include defines.mk SUBDIRS= css images +# bundle it for now from the libjs-marked debian package to avoid touching our proxies file mapper, +# we could also just ship a link to the packages file and load from same path as the widget-toolkit +MARKEDJS=/usr/share/javascript/marked/marked.min.js + JSSRC= \ Utils.js \ Toolkit.js \ Logo.js \ + Parser.js \ mixin/CBind.js \ data/reader/JsonObject.js \ data/ProxmoxProxy.js \ @@ -40,6 +45,7 @@ JSSRC= \ button/HelpButton.js \ grid/ObjectGrid.js \ grid/PendingObjectGrid.js \ + panel/AuthView.js \ panel/DiskList.js \ panel/InputPanel.js \ panel/InfoWidget.js \ @@ -50,6 +56,10 @@ JSSRC= \ panel/RRDChart.js \ panel/GaugeWidget.js \ panel/Certificates.js \ + panel/ACMEAccount.js \ + panel/ACMEPlugin.js \ + panel/ACMEDomains.js \ + panel/StatusView.js \ window/Edit.js \ window/PasswordEdit.js \ window/SafeDestroy.js \ @@ -58,7 +68,14 @@ JSSRC= \ window/DiskSmart.js \ window/ZFSDetail.js \ window/Certificates.js \ + window/ACMEAccount.js \ + window/ACMEPluginEdit.js \ + window/ACMEDomains.js \ + window/FileBrowser.js \ + window/AuthEditBase.js \ + window/AuthEditOpenId.js \ node/APT.js \ + node/APTRepositories.js \ node/NetworkEdit.js \ node/NetworkView.js \ node/DNSEdit.js \ @@ -78,13 +95,15 @@ all: ${SUBDIRS} .PHONY: lint check: lint + eslint --strict api-viewer/APIViewer.js lint: ${JSSRC} eslint --strict ${JSSRC} + touch ".lint-incremental" proxmoxlib.js: .lint-incremental ${JSSRC} # add the version as comment in the file echo "// ${DEB_VERSION_UPSTREAM_REVISION}" > $@.tmp - cat ${JSSRC} >> $@.tmp + cat ${JSSRC} ${MARKEDJS} >> $@.tmp mv $@.tmp $@ install: proxmoxlib.js