Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Andrea Rachetta
hello-ci-lite
Commits
97f1d7ab
Commit
97f1d7ab
authored
Sep 02, 2016
by
Yushin Washio
Browse files
remove test.sh and move the command into the Makefile
parent
22c0850d
Changes
5
Hide whitespace changes
Inline
Side-by-side
.drone.yml
View file @
97f1d7ab
...
...
@@ -2,6 +2,6 @@ build:
image
:
gcc
commands
:
-
make
-
./
test
.sh
-
make
test
branches
:
-
master
.gitlab-ci.yml
View file @
97f1d7ab
...
...
@@ -11,4 +11,4 @@ build_job:
test_job
:
stage
:
test
script
:
-
./
test
.sh
-
make
test
Makefile
View file @
97f1d7ab
.PHONY
:
test
all
:
main.o
%.o
:
%.cpp
...
...
@@ -5,3 +7,10 @@ all: main.o
clean
:
-
$(RM)
*
.o
test
:
cd test
&&
\
git submodule init
&&
\
git submodule update
--depth
1
&&
\
make
&&
\
./test.o
README.md
View file @
97f1d7ab
...
...
@@ -11,11 +11,11 @@ Just
make
```
#
Installation
#
Testing
Just
```
sudo cp -i main.o /usr/bin/hello-ci
make test
```
# FAQ
...
...
test.sh
deleted
100755 → 0
View file @
22c0850d
#!/usr/bin/env sh
cd test
git submodule init
git submodule update
--depth
1
make
./test.o
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment