95 Commits
Author SHA1 Message Date
Frederik “Freso” S. Olesen abd79707af Make the git-commit hook script POSIX compliant.
On a lot of systems using bashisms in /bin/sh scripts will be fine,
since /bin/sh is a symlink to /bin/bash, but some systems symlink it to
the more lightweight (and more strictly POSIX) /bin/dash or some other
shell. Safest thing is to not assume a bashism will work.

What has been changed:
1) `[[ … ]]` is a bashism. Replaced with `[ … ]`.
2) `-eq` is for numeric operations. When a variable is quoted, it
   becomes a string and uses `=` for comparison.
3) `&&` is a shell thing, but does not exist in `test`'s syntax.
   (`[ … ]` is shorthand for `test …`.) `-a` is the "and" when
   talking `test`.
2016-08-04 21:46:52 +02:00
Frederik “Freso” S. Olesen c6dec4518a Make the pre-commit Git hook executable.
This allows for symlinking it in .git/hooks/ directly[1] or executing
it from within an already existing `pre-commit` hook/script without
calling out to an interpreter in there[2], thus keeping up with any
upstream changes to it automatically.

Follow-up to e3b39b7233 / https://github.com/loot/loot/issues/622

[1] `ln -s ../../scripts/git/pre-commit .git/hooks/pre-commit`
[2] `./scripts/git/pre-commit` vs. `/bin/sh ./scripts/git/pre-commit`
2016-08-04 21:46:16 +02:00
Oliver Hamlet e3b39b7233 Add Git pre-commit hook for generating POT file
It will generate a POT file, then add it to the commit if more than one
line is changed (because there's no point committing it if the only
change is to the creation time), and discard the generated file
otherwise.

The generated POT file changes the order of a few of its entries, so
I've included that in this commit.
2016-08-04 19:00:36 +01:00
Oliver Hamlet cbbe61964a Bump version to 0.9.2 2016-08-02 10:23:56 +01:00
Oliver Hamlet 1ef0af0bd6 Fix docs deployment's new trailing line
Also add the source repo and commit to the commit message.
2016-07-28 08:18:38 +01:00
Oliver Hamlet 8e13efe4db Fix AppVeyor env var value conditions
I assumed that the documented values of `true` and `false` were
booleans, not strings.
2016-07-27 23:34:53 +01:00
Oliver Hamlet bcdf5afdf5 Automate documentation deployment
To the loot.github.io repo/site. This script has been tested locally,
aside from the final git push command.
2016-07-27 22:34:21 +01:00
Frederik “Freso” S. Olesen 6a4819fea5 Download Boost from SourceForge via HTTPS. 2016-07-27 12:00:21 +02:00
Frederik “Freso” S. Olesen cdcce4bbc2 Update links to HTTPS for loot.github.io. 2016-07-27 11:56:14 +02:00
Oliver Hamlet d851d0e39a Package and deploy Travis targets to Bintray 2016-07-26 07:38:18 +01:00
Oliver Hamlet 5021bc1763 Build and deploy installer on tagged commits 2016-07-25 17:29:11 +01:00
Oliver Hamlet 76f4982fd9 Fix the root folder name inside CI-built archives
They use HEAD as the branch name, because CI scripting was only fixing
the names of the built archives.
2016-07-24 21:39:45 +01:00
Oliver Hamlet a86546d3ce Rename archives to be lowercase with no spaces
Also give them a root folder with the same name as the archive basename.
2016-07-22 22:17:20 +01:00
Oliver Hamlet 53378d288b Compress archives on Linux using tar and xz 2016-07-22 20:49:51 +01:00
Oliver Hamlet d4d54c8db3 Package metadata validator in archive script
Also a general tidy of the code.
2016-07-22 19:39:15 +01:00
Oliver Hamlet 2e8718e482 Update potomo.js to work on Linux 2016-07-22 19:39:14 +01:00
Oliver Hamlet 0133979d4f Fix Linux API binary name in archive script 2016-07-22 19:39:13 +01:00
Oliver Hamlet 863939c2c5 Updates for LOOT's Travis CI integration
* Build and use Boost 1.61.0
* Cache Node, Bower and Boost dependencies
* Always link to static Boost libraries
* Remove Travis's Boost ABI incompatibility hack
2016-07-22 19:39:12 +01:00
Oliver Hamlet 5f91898b79 Add AppVeyor config
AppVeyor provides a free Windows-based CI environment, which allows
native Windows LOOT builds to be automated!
2016-07-21 19:51:34 +01:00
Oliver Hamlet 01bb549d58 Give branch in archive filenames 2016-07-21 19:50:12 +01:00
Oliver Hamlet c79a070dee Remove generation of PDF API documentation
The gain going from a single header file to a single PDF isn't worth the
complexity of the system required to make that conversion, especially
when it comes to CI systems.
2016-07-21 19:50:11 +01:00
Oliver Hamlet a46c14f251 Update archive script to try 7z on PATH
If the Program Files folder is not found. This is useful for AppVeyor,
which does not document where 7zip is installed but has it in its PATH
variable
2016-07-21 19:50:10 +01:00
Oliver Hamlet a3daf85deb Let potomo detect a Cygwin gettext install
This is useful on AppVeyor, which has Cygwin with the gettext-devel
package installed by default.
2016-07-21 19:50:07 +01:00
Oliver Hamlet ac642390a0 Revert "Removed theming support"
This reverts commit 4aa1f18ff7.
2016-07-12 21:52:17 +01:00
Oliver Hamlet d87847bd14 Always allow user to select installer target path
If the installer is run and LOOT is already installed, it will use the
existing directory by default. Before this commit, it would not give the
user the option to change this default, so if the drive no longer
existed an error would occur. Fixes #591.
2016-07-12 19:44:23 +01:00