Changeset 51dbfb5


Ignore:
Timestamp:
Mar 15, 2010, 10:37:17 PM (10 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.6, release-1.7, release-1.8, release-1.9
Children:
5643f99
Parents:
25bfc10
Message:
Add usage messages to everything in scripts/
Location:
scripts
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • scripts/add-changelog

    r68ab07c r51dbfb5  
    11#!/bin/sh
    22version=$1; shift
     3
     4if [ -z "$version" ] || [ "$#" = 0 ];  then
     5    echo "Usage: $0 VERSION REV-LIST-ARGS" > &2
     6    exit 1;
     7fi
    38
    49(
  • scripts/do-release

    rd771d1b r51dbfb5  
    44    echo "$@" >&2
    55    exit 1
     6}
     7
     8usage() {
     9    cat >&2 <<EOF
     10Usage: %0 [options]
     11Generate a barnowl release tarball.
     12
     13OPTIONS:
     14  -f            Don't require a changelog entry for the new release.
     15  --no-tag      Don't create and sign a git tag for the new release
     16  --git         Do a beta release for the current git revision.
     17EOF
    618}
    719
     
    1527        --no-tag) no_tag=1 ;;
    1628        --git) git=1 ;;
     29        -h|--help) usage ;;
    1730    esac
    1831done
  • scripts/locker-build

    r2b6622a6 r51dbfb5  
    33#########################################################
    44# Build script to build BarnOwl for the locker.
    5 
    6 # Usage: locker-build [-n] [-o OUTPUT-TGZ] SOURCE-TARBALL
    7 # -n is a dry-run, and drops to a shell in the build directory
    8 # -o does the install into a temporary directory and tars it into the
    9 #    specified tarball instead.
    10 # SOURCE-TARBALL is a source tarball, created by do-release
    11 
    125die() {
    136    echo "$@" 2>&1;
     
    2215
    2316usage () {
    24     echo "Usage: $0 [-n] [-o OUTPUT-TGZ] SOURCE-TARBALL"
     17    cat >&2 <<EOF
     18Usage: $0 [-n] [-o OUTPUT-TGZ] SOURCE-TARBALL
     19 -n is a dry-run, and drops to a shell in the build directory
     20 -o does the install into a temporary directory and tars it into the
     21    specified tarball instead.
     22
     23SOURCE-TARBALL is a source tarball, created by do-release.
     24EOF
    2525    exit 2;
    2626}
Note: See TracChangeset for help on using the changeset viewer.