https://github.com/adriens/schemacrawler-deb
Debian package for schemacrawler
https://github.com/adriens/schemacrawler-deb
deb debian installer package schemacrawler
Last synced: 8 months ago
JSON representation
Debian package for schemacrawler
- Host: GitHub
- URL: https://github.com/adriens/schemacrawler-deb
- Owner: adriens
- Created: 2014-08-20T00:26:10.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2021-07-20T18:15:04.000Z (almost 5 years ago)
- Last Synced: 2025-04-23T08:48:43.249Z (about 1 year ago)
- Topics: deb, debian, installer, package, schemacrawler
- Language: Shell
- Size: 3.68 MB
- Stars: 10
- Watchers: 2
- Forks: 3
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Schemacrawler Debian package builder
==========================================
[](https://beerpay.io/adriens/schemacrawler-deb)
[](https://beerpay.io/adriens/schemacrawler-deb)
[](https://gitter.im/adriens/schemacrawler-deb?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://travis-ci.org/adriens/schemacrawler-deb)
[](http://www.somsubhra.com/github-release-stats/?username=adriens&repository=schemacrawler-deb)[](http://www.somsubhra.com/github-release-stats/?username=adriens&repository=schemacrawler-deb)
Set the version in session
------------------------------------------
export SCHEMACRAWLER_VERSION=15.06.01
Download and install .deb
------------------------------------------
Go on the [Release Page](https://github.com/adriens/schemacrawler-deb/releases/latest) and get the debian file.
or download it from your shell assuming you have set version in the session :
wget https://github.com/adriens/schemacrawler-deb/releases/download/${SCHEMACRAWLER_VERSION}/schemacrawler-deb-${SCHEMACRAWLER_VERSION}_all.deb
Build docs and debian installer
------------------------------------------
mvn clean package site -Ddependency.locations.enabled=false
Build all and Install
------------------------------------------
`mvn clean package site -Ddependency.locations.enabled=false && sudo dpkg -i target/schemacrawler-deb-${SCHEMACRAWLER_VERSION}_all.deb`
Build all and (re)install
------------------------------------------
`mvn clean package site -Ddependency.locations.enabled=false && sudo apt-get remove schemacrawler && sudo dpkg -i target/schemacrawler-deb-${SCHEMACRAWLER_VERSION}_all.deb`
# Debian customization : additional lints
As requested see [#68](https://github.com/adriens/schemacrawler-deb/issues/68), you can decide to directly prepare
your debian package with [additional lint](https://github.com/mbarre/schemacrawler-additional-lints) jar dropped
in `SCHEMACRAWLE_HOME/lib` so you don't have to move it afterwards.
To build such a debian package, just build with the following option :
```
mvn clean package -Dadditional-lints.target.dir=lib -Dwith-lint-flag=-with-additional-lints
```
So if you want both (with and without additional lints) debians packages, just :
```
mvn clean package && mvn package -Dadditional-lints.target.dir=lib -Dwith-lint-flag=-with-additional-lints
ls -la target/*.deb
```
Uninstall
------------------------------------------
`sudo apt-get remove schemacrawler`
# Vagrant BOX
```
vagrant up
vagrant ssh
cd /vagrant
mvn clean package
export SCHEMACRAWLER_VERSION=15.06.01
sudo dpkg -i target/schemacrawler-deb-${SCHEMACRAWLER_VERSION}_all.deb
schemacrawler -version
```
Contribute
------------------------------------------
If you are familiar with bash auto-complete files, you are welcome to provide me one
to make schemacawler linux experience even better.