Skip to content
This repository was archived by the owner on Feb 21, 2024. It is now read-only.

Commit 5707465

Browse files
Julio MartinezJulio Martinez
authored and
Vengata Krishnan
committed
Build target also builds fbsql, fbsql is also packaged. (#2260)
Co-authored-by: Julio Martinez <[email protected]>
1 parent 0c7e54c commit 5707465

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ cover-viz: cover
111111
# Compile Pilosa
112112
build:
113113
$(GO) build -tags='$(BUILD_TAGS)' -ldflags $(LDFLAGS) $(FLAGS) ./cmd/featurebase
114+
$(GO) build -tags='$(BUILD_TAGS)' -ldflags $(LDFLAGS) $(FLAGS) ./cmd/fbsql
115+
114116

115117
package:
116118
GOOS=$(GOOS) GOARCH=$(GOARCH) FLAGS="-o featurebase" $(MAKE) build

nfpm.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ homepage: "https://molecula.com"
1010
contents:
1111
- src: ./featurebase
1212
dst: /usr/bin/featurebase
13+
- src: ./fbsql
14+
dst: /usr/bin/fbsql
1315
- src: ./install/featurebase.conf
1416
dst: /etc/featurebase/featurebase.conf
1517
type: config|noreplace
@@ -22,7 +24,7 @@ contents:
2224
- src: ./install/featurebase.debian.service
2325
dst: /lib/systemd/system/featurebase.service
2426
packager: deb
25-
- dst: /var/log/molecula # We use vendor name on log directory in case other molecula components need it.
27+
- dst: /var/log/molecula # We use vendor name on log directory in case other molecula components need it.
2628
type: dir
2729
file_info:
2830
mode: 0755

0 commit comments

Comments
 (0)