good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
upper
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
open
upper
Commits
b2354955
Commit
b2354955
authored
9 years ago
by
José Carlos Nieto
Browse files
Options
Downloads
Patches
Plain Diff
Adding "require-client" targets.
parent
79a6c4f8
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
mongo/_dumps/Makefile
+7
-1
7 additions, 1 deletion
mongo/_dumps/Makefile
mysql/Makefile
+7
-1
7 additions, 1 deletion
mysql/Makefile
postgresql/Makefile
+7
-1
7 additions, 1 deletion
postgresql/Makefile
ql/Makefile
+7
-1
7 additions, 1 deletion
ql/Makefile
sqlite/Makefile
+7
-1
7 additions, 1 deletion
sqlite/Makefile
with
35 additions
and
5 deletions
mongo/_dumps/Makefile
+
7
−
1
View file @
b2354955
all
:
setup
setup
:
require-client
:
if
[
-z
"
$(
which mongo
)
"
]
;
then
\
echo
'Missing "mongo" command. Please install the MongoDB client and try again.'
&&
\
exit
1
;
\
fi
setup
:
require-client
mongo upperio_tests
--eval
'db.addUser("upperio_tests", "upperio_secret")'
This diff is collapsed.
Click to expand it.
mysql/Makefile
+
7
−
1
View file @
b2354955
...
...
@@ -4,7 +4,13 @@ BENCHTIME ?= 10s
build
:
go build
&&
go
install
reset-db
:
require-client
:
if
[
-z
"
$(
which mysql
)
"
]
;
then
\
echo
'Missing "mysql" command. Please install the MySQL client and try again.'
&&
\
exit
1
;
\
fi
reset-db
:
require-client
$(
MAKE
)
reset-db
-C
_dumps
test
:
reset-db
...
...
This diff is collapsed.
Click to expand it.
postgresql/Makefile
+
7
−
1
View file @
b2354955
...
...
@@ -4,7 +4,13 @@ BENCHTIME ?= 10s
build
:
go build
&&
go
install
reset-db
:
require-client
:
if
[
-z
"
$(
which psql
)
"
]
;
then
\
echo
'Missing "psql" command. Please install the PostgreSQL client and try again.'
&&
\
exit
1
;
\
fi
reset-db
:
require-client
$(
MAKE
)
reset-db
-C
_dumps
test
:
reset-db
...
...
This diff is collapsed.
Click to expand it.
ql/Makefile
+
7
−
1
View file @
b2354955
...
...
@@ -3,7 +3,13 @@ BENCHTIME ?= 10s
build
:
go build
&&
go
install
reset-db
:
require-client
:
if
[
-z
"
$(
which ql
)
"
]
;
then
\
echo
'Missing "ql" command. Please install the QL cli tool and try again.'
&&
\
exit
1
;
\
fi
reset-db
:
require-client
$(
MAKE
)
reset-db
-C
_dumps
test
:
reset-db
...
...
This diff is collapsed.
Click to expand it.
sqlite/Makefile
+
7
−
1
View file @
b2354955
...
...
@@ -3,7 +3,13 @@ BENCHTIME ?= 10s
build
:
go build
&&
go
install
reset-db
:
require-client
:
if
[
-z
"
$(
which sqlite3
)
"
]
;
then
\
echo
'Missing "sqlite3" command. Please install SQLite3 and try again.'
&&
\
exit
1
;
\
fi
reset-db
:
require-client
$(
MAKE
)
reset-db
-C
_dumps
test
:
reset-db
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment