Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mtxclient
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
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
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
Show more breadcrumbs
Nheko Reborn
mtxclient
Commits
21fd3458
Commit
21fd3458
authored
6 years ago
by
Konstantinos Sideris
Browse files
Options
Downloads
Patches
Plain Diff
Ensure synapse has started before running tests
parent
5dd4e4cd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+4
-2
4 additions, 2 deletions
Makefile
with
4 additions
and
2 deletions
Makefile
+
4
−
2
View file @
21fd3458
FILES
=
`
find src tests examples
-type
f
-type
f
\(
-iname
"*.cpp"
-o
-iname
"*.hpp"
\)
`
SYNAPSE_IMAGE
=
"avhost/docker-matrix:v0.28.
0
"
SYNAPSE_IMAGE
=
"avhost/docker-matrix:v0.28.
1
"
debug
:
@
cmake
-GNinja
-H
.
-Bbuild
\
...
...
@@ -33,7 +33,7 @@ synapse:
-p
443:8448
-p
8448:8448
\
-v
`
pwd
`
/data:/data
${
SYNAPSE_IMAGE
}
start
@
echo
Waiting
for
synapse to start...
@
sleep
5
@
until
curl
-s
-f
-k
https://localhost:443/_matrix/client/versions
;
do
echo
"Checking ..."
;
sleep
2
;
done
@
echo
Register alice
@
docker
exec
synapse /bin/bash
-c
'register_new_matrix_user --admin -u alice -p secret -c /data/homeserver.yaml http://localhost:8008'
@
echo
Register bob
...
...
@@ -45,6 +45,8 @@ stop-synapse:
@
rm
-rf
./data/
*
@
docker
rm
-f
synapse 2>&1>/dev/null
restart
:
stop-synapse synapse
lint
:
@
clang-format
-i
${
FILES
}
&&
git diff
--exit-code
...
...
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