Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pleroma
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
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
Alex Gleason
pleroma
Commits
a0a13618
Commit
a0a13618
authored
5 years ago
by
rinpatch
Browse files
Options
Downloads
Patches
Plain Diff
Refactor pleroma_ctl copying to a generic function for copying files into the release dir
parent
3d764205
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mix.exs
+3
-3
3 additions, 3 deletions
mix.exs
rel/files/bin/pleroma_ctl
+0
-0
0 additions, 0 deletions
rel/files/bin/pleroma_ctl
with
3 additions
and
3 deletions
mix.exs
+
3
−
3
View file @
a0a13618
...
...
@@ -37,14 +37,14 @@ def project do
pleroma:
[
include_executables_for:
[
:unix
],
applications:
[
ex_syslogger:
:load
,
syslog:
:load
],
steps:
[
:assemble
,
&
copy_
pleroma_ctl
/
1
]
steps:
[
:assemble
,
&
copy_
files
/
1
]
]
]
]
end
def
copy_
pleroma_ctl
(%{
path:
target_path
}
=
release
)
do
File
.
cp!
(
"./rel/
pleroma_ctl"
,
Path
.
join
([
target_path
,
"bin"
,
"pleroma_ctl"
])
)
def
copy_
files
(%{
path:
target_path
}
=
release
)
do
File
.
cp
_r
!
(
"./rel/
files"
,
target_path
)
release
end
...
...
This diff is collapsed.
Click to expand it.
rel/pleroma_ctl
→
rel/
files/bin/
pleroma_ctl
+
0
−
0
View file @
a0a13618
File moved
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