mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
travis
This commit is contained in:
parent
7b81b0828f
commit
ce9405341a
@ -4,7 +4,6 @@ go:
|
|||||||
- tip
|
- tip
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- go generate
|
|
||||||
- go get -u -v $(go list -f '{{join .Imports "\n"}}' ./... | sort | uniq | grep -v caddy-filemanager)
|
- go get -u -v $(go list -f '{{join .Imports "\n"}}' ./... | sort | uniq | grep -v caddy-filemanager)
|
||||||
- go get -u -v github.com/mholt/caddy/caddyhttp
|
- go get -u -v github.com/mholt/caddy/caddyhttp
|
||||||
- go get -u -v github.com/caddyserver/caddydev
|
- go get -u -v github.com/caddyserver/caddydev
|
||||||
@ -12,7 +11,8 @@ install:
|
|||||||
- go get github.com/gordonklaus/ineffassign
|
- go get github.com/gordonklaus/ineffassign
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
- diff <(echo -n) <(gofmt -s -d .)
|
||||||
|
- go generate
|
||||||
- sed -i 's/\_ \"github.com\/mholt\/caddy\/caddyhttp\"/\_ \"github.com\/mholt\/caddy\/caddyhttp\"\n\_ \"github.com\/hacdias\/caddy-filemanager\"/g' $GOPATH/src/github.com/mholt/caddy/caddy/caddymain/run.go
|
- sed -i 's/\_ \"github.com\/mholt\/caddy\/caddyhttp\"/\_ \"github.com\/mholt\/caddy\/caddyhttp\"\n\_ \"github.com\/hacdias\/caddy-filemanager\"/g' $GOPATH/src/github.com/mholt/caddy/caddy/caddymain/run.go
|
||||||
- go build github.com/mholt/caddy/caddy
|
- go build github.com/mholt/caddy/caddy
|
||||||
- diff <(echo -n) <(gofmt -s -d .)
|
|
||||||
- ineffassign .
|
- ineffassign .
|
||||||
|
@ -115,10 +115,10 @@ function getCSSRule(rules) {
|
|||||||
|
|
||||||
|
|
||||||
/* * * * * * * * * * * * * * * *
|
/* * * * * * * * * * * * * * * *
|
||||||
* *
|
* *
|
||||||
* WEBDAV *
|
* WEBDAV *
|
||||||
* *
|
* *
|
||||||
* * * * * * * * * * * * * * * */
|
* * * * * * * * * * * * * * * */
|
||||||
// TODO: here, we should create an abstraction layer from the webdav.
|
// TODO: here, we should create an abstraction layer from the webdav.
|
||||||
// We must create functions that do the requests to the webdav backend.
|
// We must create functions that do the requests to the webdav backend.
|
||||||
|
|
||||||
@ -157,10 +157,10 @@ webdav.put = function(link, body) {
|
|||||||
|
|
||||||
|
|
||||||
/* * * * * * * * * * * * * * * *
|
/* * * * * * * * * * * * * * * *
|
||||||
* *
|
* *
|
||||||
* EVENTS *
|
* EVENTS *
|
||||||
* *
|
* *
|
||||||
* * * * * * * * * * * * * * * */
|
* * * * * * * * * * * * * * * */
|
||||||
function closePrompt(event) {
|
function closePrompt(event) {
|
||||||
let prompt = document.querySelector('.prompt');
|
let prompt = document.querySelector('.prompt');
|
||||||
|
|
||||||
@ -562,10 +562,10 @@ window.addEventListener('keydown', (event) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
/* * * * * * * * * * * * * * * *
|
/* * * * * * * * * * * * * * * *
|
||||||
* *
|
* *
|
||||||
* BOOTSTRAP *
|
* BOOTSTRAP *
|
||||||
* *
|
* *
|
||||||
* * * * * * * * * * * * * * * */
|
* * * * * * * * * * * * * * * */
|
||||||
|
|
||||||
document.addEventListener("DOMContentLoaded", function(event) {
|
document.addEventListener("DOMContentLoaded", function(event) {
|
||||||
overlay = document.querySelector('.overlay');
|
overlay = document.querySelector('.overlay');
|
||||||
|
Loading…
Reference in New Issue
Block a user