Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Rigel Kent
package-debian-peertube
Commits
5c1fbeef
Verified
Commit
5c1fbeef
authored
Feb 09, 2019
by
Rigel Kent
☕
Browse files
simple rakefile documentation
parent
5b94e7ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
5c1fbeef
...
...
@@ -6,19 +6,15 @@ guarantee of support.
## Building the package
You can let Drone CI build the package for you, and modify the
`release`
and
`deploy`
steps to fit your needs, triggering them manually when the regular
`build`
step satisfies you. That's how I do it myself. You just need to compile
the builder Docker image named
`packagebuilder`
locally from the Dockerfile
beforehand:
`$ rake`
`$ docker build . -t packagebuilder`
That's it! You expected something more? Sorry to disappoint you ;)
##
Development
```
$ bundle install
$ bundle exec fpm-cook
```
##
Bonus
The definition can actually generate more than just Debian Stretch packages, it
can generate ArchLinux, Centos, Fedora, Ubuntu packages too, although I have
not tested them.
## License
[
AGPLv3
](
https://choosealicense.com/licenses/agpl-3.0/
)
Rakefile
View file @
5c1fbeef
...
...
@@ -11,4 +11,5 @@ end
def
build
sh
"fpm-dockery/bin/fpm-dockery create-builder-image --dockerfile ./Dockerfile debian.stretch"
sh
"fpm-dockery/bin/fpm-dockery package recipe.rb debian.stretch"
puts
"The package should now be in the './pkg' directory."
end
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment