File tree 6 files changed +9
-7
lines changed
6 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 15
15
- name : Check out code
16
16
uses : actions/checkout@v1
17
17
18
+ - name : Config
19
+ run : make config
20
+
18
21
- name : Test
19
22
run : make integration-test
Original file line number Diff line number Diff line change @@ -18,18 +18,17 @@ all: help
18
18
build : # # Build all the binaries and put the output in bin/
19
19
$(GOCMD ) build -ldflags " -X main.version=$( BRANCH) -$( HASH) " -o bin/$(PROJECT_NAME ) .
20
20
21
- # # Config:
22
- config : # # Generate default config
23
- ./bin/$(PROJECT_NAME ) config > ./config.yaml
24
-
25
21
# # Clean:
26
22
clean : # # Remove build related file
27
23
@-rm -fr ./bin
28
24
29
25
# # Run:
30
- run : clean build config # # Run the smolgit `make run`
26
+ run : clean build # # Run the smolgit `make run`
31
27
./bin/$(PROJECT_NAME ) $(ARGS )
32
28
29
+ config : # # Generate default config
30
+ ./bin/$(PROJECT_NAME ) config > ./config.yaml
31
+
33
32
# # Test:
34
33
test : # # Run the tests of the smolgit
35
34
$(GOTEST ) -v -race ./...
Original file line number Diff line number Diff line change 28
28
### Preview
29
29
30
30
<p align =" center " >
31
- <img src =" assets/web_2 .png " alt =" screenshot " width =" 700 " />
31
+ <img src =" assets/web_1 .png " alt =" screenshot " width =" 700 " />
32
32
</p >
33
33
<p align =" center " >
34
- <img src =" assets/web_1 .png " alt =" screenshot " width =" 700 " />
34
+ <img src =" assets/web_2 .png " alt =" screenshot " width =" 700 " />
35
35
</p >
36
36
37
37
You can’t perform that action at this time.
0 commit comments