mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 02:44:59 +00:00
Build target also builds fbsql, fbsql is also packaged. (#2260)
Co-authored-by: Julio Martinez <julio.martinez@featurebase.com>
This commit is contained in:
parent
d0e4012025
commit
7a839f2e8f
2 changed files with 5 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -111,6 +111,8 @@ cover-viz: cover
|
||||||
# Compile Pilosa
|
# Compile Pilosa
|
||||||
build:
|
build:
|
||||||
$(GO) build -tags='$(BUILD_TAGS)' -ldflags $(LDFLAGS) $(FLAGS) ./cmd/featurebase
|
$(GO) build -tags='$(BUILD_TAGS)' -ldflags $(LDFLAGS) $(FLAGS) ./cmd/featurebase
|
||||||
|
$(GO) build -tags='$(BUILD_TAGS)' -ldflags $(LDFLAGS) $(FLAGS) ./cmd/fbsql
|
||||||
|
|
||||||
|
|
||||||
package:
|
package:
|
||||||
GOOS=$(GOOS) GOARCH=$(GOARCH) FLAGS="-o featurebase" $(MAKE) build
|
GOOS=$(GOOS) GOARCH=$(GOARCH) FLAGS="-o featurebase" $(MAKE) build
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,8 @@ homepage: "https://molecula.com"
|
||||||
contents:
|
contents:
|
||||||
- src: ./featurebase
|
- src: ./featurebase
|
||||||
dst: /usr/bin/featurebase
|
dst: /usr/bin/featurebase
|
||||||
|
- src: ./fbsql
|
||||||
|
dst: /usr/bin/fbsql
|
||||||
- src: ./install/featurebase.conf
|
- src: ./install/featurebase.conf
|
||||||
dst: /etc/featurebase/featurebase.conf
|
dst: /etc/featurebase/featurebase.conf
|
||||||
type: config|noreplace
|
type: config|noreplace
|
||||||
|
|
@ -22,7 +24,7 @@ contents:
|
||||||
- src: ./install/featurebase.debian.service
|
- src: ./install/featurebase.debian.service
|
||||||
dst: /lib/systemd/system/featurebase.service
|
dst: /lib/systemd/system/featurebase.service
|
||||||
packager: deb
|
packager: deb
|
||||||
- dst: /var/log/molecula # We use vendor name on log directory in case other molecula components need it.
|
- dst: /var/log/molecula # We use vendor name on log directory in case other molecula components need it.
|
||||||
type: dir
|
type: dir
|
||||||
file_info:
|
file_info:
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue