1fd41f43eb
Set up the toolchain to create sources and javadocs artifacts in addition to JARs created during the build. Use Buck build tool for that: [1]. This is a fork of Google's build tool Blaze, created by Xooglers at Facebook. This build tool (like Blaze itself) uses Python to write build files. Add needed tools and build files to install LibreOffice API artifacts to local Maven repository or deploy them to Maven Central. To build all needed artifacts LibreOffice must be built regularly with GNU make first. To build the rest of the API (sources and javadocs): $> buck build api To replace version number with upcoming release version: $> solenv/bin/version.py 5.1.0 To install the API to local Maven repository: $> buck build api_install To deploy the API to Maven Central: $> buck build api_deploy Detailed documentation is added to document the prerequisites and the workflow to upload LibreOffice API to Maven Central. * [1] https://buckbuild.com Change-Id: Ibdd552a01110836703bc069abe829b9921491cac Reviewed-on: https://gerrit.libreoffice.org/20343 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
143 lines
2.3 KiB
Text
143 lines
2.3 KiB
Text
#
|
|
# LibreOffice project .gitignore rules.
|
|
#
|
|
# Do not add you pet ignore rule here, use
|
|
# .git/info/exclude for per repo personal ignore or
|
|
# in the file specified by core.excludesfiles in your
|
|
# ~/.gitconfig
|
|
#
|
|
# As a rule of thumb:
|
|
# File that are generated by configure or the build
|
|
# but that are not deleted by make clean
|
|
# can be listed here... These must be deleted by make distclean
|
|
#
|
|
# Files that are generated by the build but deleted by make clean
|
|
# should all be under workdir or instdir
|
|
# if that is not the case, don't hide it here, but try to fix it
|
|
#
|
|
# The intent is that after a make distclean, .gitignore
|
|
# should not catch anything but possibly /external/tarballs
|
|
#
|
|
|
|
# where stuff is built
|
|
/buck-out
|
|
/instdir
|
|
/instdir_for_build
|
|
/workdir
|
|
/workdir_for_build
|
|
/test-install
|
|
|
|
# default location for external downloads
|
|
/external/tarballs
|
|
|
|
# autoconf generated stuff
|
|
/aclocal.m4
|
|
/autom4te.cache
|
|
/autogen.input
|
|
/autogen.lastrun
|
|
/autogen.lastrun.bak
|
|
/ChangeLog
|
|
/config.Build.log
|
|
/config.guess
|
|
/config.log
|
|
/config.status
|
|
/config.parms
|
|
/config_host.mk
|
|
/config_host.mk.last
|
|
/config_host.mk.stamp
|
|
/config_host_lang.mk
|
|
/config_host_lang.mk.last
|
|
/config_host_lang.mk.stamp
|
|
/config_build
|
|
/config_build.mk
|
|
/config_build_lang.mk
|
|
/configure
|
|
/lo.xcent
|
|
/Makefile
|
|
/NEWS
|
|
/TODO
|
|
/README
|
|
/AUTHORS
|
|
/MAINTAINERS
|
|
|
|
# make id
|
|
/ID
|
|
|
|
# make tags
|
|
|
|
/tags
|
|
|
|
# make etags
|
|
/TAGS
|
|
|
|
# backup and temporary editor files: the only convenience rules allowed here.
|
|
*~
|
|
.*sw?
|
|
\#*
|
|
*.kdev4
|
|
.kdev_include_paths
|
|
.buckd
|
|
.directory
|
|
.cproject
|
|
.project
|
|
.settings
|
|
.eclipsesettingfile
|
|
eclipsesettingfile.xml
|
|
|
|
# things below this point are targeted for elimination
|
|
|
|
#stuff that we should no generated where they are
|
|
/desktop/scripts/soffice.sh
|
|
/intltool-extract.in
|
|
/intltool-merge.in
|
|
/intltool-update.in
|
|
*.pyc
|
|
/install
|
|
/*/*.exe
|
|
/solenv/gdb/libreoffice/*.pyo
|
|
/solenv/gdb/libreoffice/util/*.pyo
|
|
/moz/zipped/*.zip
|
|
__pycache__
|
|
|
|
# OSX specific
|
|
.DS_Store
|
|
|
|
# Xcode specific
|
|
build/
|
|
*.pbxuser
|
|
!default.pbxuser
|
|
*.mode1v3
|
|
!default.mode1v3
|
|
*.mode2v3
|
|
!default.mode2v3
|
|
*.perspectivev3
|
|
!default.perspectivev3
|
|
xcuserdata
|
|
*.xcuserstate
|
|
*.xccheckout
|
|
*.moved-aside
|
|
DerivedData
|
|
*.xcodeproj
|
|
*.xcworkspace
|
|
|
|
# MSVS specific
|
|
*/Debug
|
|
*.sdf
|
|
*.sln
|
|
*.v11*
|
|
*.v12*
|
|
*.vcxproj*
|
|
*.opensdf
|
|
!windows/*.sln
|
|
!windows/*.vcxproj*
|
|
|
|
# QtCreator specific
|
|
*.pro
|
|
*.pro.user
|
|
|
|
# doxygen output
|
|
/docs
|
|
|
|
# gdb config
|
|
/.gdbinit
|
|
/.gdb_history
|