mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2026-10-19 16:14:39 +00:00
maintenance (dev): development environment and workflow
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ steps:
|
||||
- apk --no-cache add git gcc libc-dev > /dev/null 2>&1
|
||||
- cp ../test/assets/* /tmp/
|
||||
- go get -t ../test/unit_go/...
|
||||
- go test -v ../test/unit_go/...
|
||||
- go test --tags "fts5" -v ../test/unit_go/...
|
||||
|
||||
- name: test_js
|
||||
image: node:8-alpine
|
||||
|
||||
@@ -7,6 +7,9 @@ build_frontend:
|
||||
build_backend:
|
||||
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ CGO_CFLAGS_ALLOW='-fopenmp' go build --tags "fts5" -ldflags "-X github.com/mickael-kerjean/filestash/server/common.BUILD_NUMBER=`date -u +%Y%m%d`" -o dist/filestash server/main.go
|
||||
|
||||
build_backend_reload:
|
||||
gin --bin dist/filestash-reload --path ./server/ --port 8333 --appPort 8334 run server/main.go
|
||||
|
||||
build_plugins:
|
||||
go build -buildmode=plugin -o ./dist/data/plugin/image.so server/plugin/plg_image_light/index.go
|
||||
go build -buildmode=plugin -o ./dist/data/plugin/backend_dav.so server/plugin/plg_backend_dav/index.go
|
||||
|
||||
Reference in New Issue
Block a user