File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change
1
+ bin/coderd :
2
+ mkdir -p bin
3
+ go build -o bin/coderd cmd/coderd/main.go
4
+ .PHONY : bin/coderd
5
+
6
+ build : site/out bin/coderd
7
+ .PHONY : build
8
+
1
9
# Runs migrations to output a dump of the database.
2
10
database/dump.sql : $(wildcard database/migrations/* .sql)
3
11
go run database/dump/main.go
@@ -25,19 +33,6 @@ fmt: fmt/prettier
25
33
gen : database/generate peerbroker/proto provisionersdk/proto
26
34
.PHONY : gen
27
35
28
- bin/coderd :
29
- mkdir -p bin
30
- go build -o bin/coderd cmd/coderd/main.go
31
- .PHONY : bin/coderd
32
-
33
- site/out :
34
- yarn build
35
- yarn export
36
- .PHONY : site/out
37
-
38
- build : site/out bin/coderd
39
- .PHONY : build
40
-
41
36
# Generates the protocol files.
42
37
peerbroker/proto : peerbroker/proto/peerbroker.proto
43
38
cd peerbroker/proto && protoc \
@@ -56,4 +51,9 @@ provisionersdk/proto: provisionersdk/proto/provisioner.proto
56
51
--go-drpc_out=. \
57
52
--go-drpc_opt=paths=source_relative \
58
53
./provisioner.proto
59
- .PHONY : provisionersdk/proto
54
+ .PHONY : provisionersdk/proto
55
+
56
+ site/out :
57
+ yarn build
58
+ yarn export
59
+ .PHONY : site/out
You can’t perform that action at this time.
0 commit comments