This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Cornerstone Post-Commit Action Script <http://www.zennaware.com/cornerstone/> | |
# Get last log item from working copy's history & copy it to the pasteboard | |
# $1 is used to reference the POSIX path of the working copy that was committed | |
/usr/local/bin/svn log "$1" -r HEAD --limit 1 --verbose | pbcopy | |
# infotexture hooks for hybrid Git/Subversion working copies. Created 2010-02-09 | |
# (see <http://infotexture.net/2010/02/git-to-svn-and-back-again/> for details) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8'?> | |
<xsl:stylesheet version="2.0" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<!-- | |
Numbered Headings in PDF output per <http://tech.groups.yahoo.com/group/dita-users/message/26819>, 26827, 26828 & 26794 | |
Template created via DITA-OT PDF plug-in generator <http://dita-generator.appspot.com/pdf-plugin> by Jarno Elovirta --> | |
<xsl:template match="*" mode="getTitle"> | |
<xsl:variable name="topic" select="ancestor-or-self::*[contains(@class, ' topic/topic ')][1]" /> | |
<xsl:variable name="id" select="$topic/@id" /> | |
<xsl:variable name="mapTopics" select="key('map-id', $id)" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd"> | |
<reference id="ID"> | |
<title id="Module">Module Name</title> | |
<prolog> | |
<metadata> | |
<keywords> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# This file is part of the DITA Open Toolkit project hosted on | |
# Sourceforge.net. See the accompanying license.txt file for | |
# applicable licenses. | |
# (c) Copyright IBM Corp. 2006 All Rights Reserved. | |
realpath() { | |
case $1 in | |
/*) echo "$1" ;; | |
*) echo "$PWD/${1#./}" ;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>net.infotexture.autobuild_hourly</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/bin/bash</string> | |
<string>/Users/username/projectdir/scripts/run-dita-build.sh</string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>net.infotexture.autobuild_midnight</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/bin/bash</string> | |
<string>/Users/username/projectdir/scripts/run-dita-build.sh</string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>net.infotexture.autobuild_workdays</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/bin/bash</string> | |
<string>/Users/username/projectdir/scripts/run-dita-build.sh</string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>KeepAlive</key> | |
<false/> | |
<key>Label</key> | |
<string>net.infotexture.autobuild_watcher</string> | |
<key>ProgramArguments</key> | |
<array> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Get the absolute path of the `.git/hooks` directory | |
export GIT_HOOKS=`cd "\`dirname "\\\`readlink "$0" || echo $0\\\`"\`" && pwd` | |
# Set the absolute path of the build directory | |
export BUILD_FILES="$GIT_HOOKS/../../build-files/" | |
# Set the absolute path of the DITA home directory | |
export DITA_HOME="$BUILD_FILES/../bin/dita-ot/" | |
# Set the absolute path of the DITA home directory again (weird, but necessary) | |
export DITA_DIR="$BUILD_FILES/../bin/dita-ot/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script is run by Jenkins to execute all tests. | |
# It gets passed two parameters, the first one is either "ci" or "nightly" to | |
# indicate what kind of tests should be run. The second one is the branch that | |
# is being tested. This script should either work for all branches (makes | |
# merging easier) or each branch contains code that is specific for this branch, | |
# in which case you might want to double check that everything works after | |
# merging. |
OlderNewer