]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - src/Makefile
bump version to 3.1-4
[proxmox-widget-toolkit.git] / src / Makefile
index 44c11ead95dcb4c36d416d5e6c84a9f0b495bd4f..23f23601704564985d277d152732fec5ebc63f77 100644 (file)
@@ -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            \
@@ -53,6 +58,7 @@ JSSRC=                                        \
        panel/ACMEAccount.js            \
        panel/ACMEPlugin.js             \
        panel/ACMEDomains.js            \
+       panel/StatusView.js             \
        window/Edit.js                  \
        window/PasswordEdit.js          \
        window/SafeDestroy.js           \
@@ -64,7 +70,9 @@ JSSRC=                                        \
        window/ACMEAccount.js           \
        window/ACMEPluginEdit.js        \
        window/ACMEDomains.js           \
+       window/FileBrowser.js           \
        node/APT.js                     \
+       node/APTRepositories.js         \
        node/NetworkEdit.js             \
        node/NetworkView.js             \
        node/DNSEdit.js                 \
@@ -84,13 +92,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