-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
1,779 additions
and
166 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# remove some files from `git archive` to strip the "Source code" archives | ||
# created by GitHub on the "Release" page from including binary blobs and/or | ||
# other unnecessary files for building BusKill from source. See also: | ||
# | ||
# * https://github.com/BusKill/buskill-app/issues/31#issuecomment-1365570844 | ||
# * https://github.com/BusKill/buskill-app/issues/53#issuecomment-1366041678 | ||
|
||
.gitattributes export-ignore | ||
.github export-ignore | ||
.gitignore export-ignore | ||
build/ export-ignore | ||
updates/ export-ignore |
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
#!/bin/bash | ||
set -x | ||
################################################################################ | ||
# File: buildManpage.sh | ||
# Purpose: Script that converts manpage.rst (in reStructuredText format) into | ||
# buskill.1 (in groff format) | ||
# | ||
# Authors: Michael Altfield <[email protected]> | ||
# Created: 2022-12-12 | ||
# Updated: 2022-12-12 | ||
# Version: 0.1 | ||
################################################################################ | ||
|
||
################################################################################ | ||
# SETTINGS # | ||
################################################################################ | ||
|
||
SUDO=$(which sudo) | ||
|
||
pwd | ||
env | ||
ls -lah | ||
export SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) | ||
DATE=$(date "+%b %Y" --date="@${SOURCE_DATE_EPOCH}") | ||
HEADER="Laptop Kill Cord" | ||
|
||
################################################################################ | ||
# MAIN BODY # | ||
################################################################################ | ||
|
||
################# | ||
# SANITY CHECKS # | ||
################# | ||
|
||
# this script isn't robust enough | ||
if [ ! -e "`pwd`/docs/$(basename $0)" ]; then | ||
echo "ERROR: This script should only be executed from the root of the github dir." | ||
exit 1 | ||
fi | ||
|
||
################### | ||
# INSTALL DEPENDS # | ||
################### | ||
|
||
${SUDO} apt-get update | ||
${SUDO} apt-get -y install pandoc | ||
|
||
PANDOC=$(which pandoc) | ||
|
||
################# | ||
# BUILD MANPAGE # | ||
################# | ||
|
||
${PANDOC} -s -t man --variable header="${HEADER}" --variable date="${DATE}" --variable footer="${FOOTER}" docs/software_usr/manpage.rst -o "docs/buskill.1" | ||
|
||
################## | ||
# CLEANUP & EXIT # | ||
################## | ||
|
||
# exit cleanly | ||
exit 0 |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.