Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-mysqlbackend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-mysqlbackend
Commits
43533a78
Commit
43533a78
authored
5 years ago
by
Henrik tom Wörden
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: move make_db to utils
parent
25454bef
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
makefile
+5
-5
5 additions, 5 deletions
makefile
utils/make_db
+1
-1
1 addition, 1 deletion
utils/make_db
with
6 additions
and
6 deletions
makefile
+
5
−
5
View file @
43533a78
...
...
@@ -26,7 +26,7 @@ INSTALL_SQL_FILE=db_2_0.sql
.PHONY
:
test-connection
test-connection
:
./make_db test-connection
./
utils/
make_db test-connection
.PHONY
:
upgrade
upgrade
:
...
...
@@ -37,17 +37,17 @@ install: _install _grant upgrade
.PHONY
:
_install
_install
:
./make_db install_db
./
utils/
make_db install_db
.PHONY
:
_grant
_grant
:
./make_db grant
./
utils/
make_db grant
# Drop the user and a given database
.PHONY
:
drop-%
drop-%
:
./make_db drop
$(
patsubst drop-%,%,
$@
)
./
utils/
make_db drop
$(
patsubst drop-%,%,
$@
)
.PHONY
:
test
test
:
./make_db
test
--fresh
./
utils/
make_db
test
--fresh
This diff is collapsed.
Click to expand it.
make_db
→
utils/
make_db
+
1
−
1
View file @
43533a78
...
...
@@ -25,7 +25,7 @@
INSTALL_SQL_FILE
=
"db_2_0.sql"
if
[
-z
"
$UTILSPATH
"
]
;
then
UTILSPATH
=
"
$(
realpath
$(
dirname
$0
))
/utils
"
UTILSPATH
=
"
$(
realpath
$(
dirname
$0
))
"
export
UTILSPATH
fi
...
...
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