AminetAminet
Search:
84476 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/misc/Bump.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Automatic version generator, fully configurable. (+source)
Author:Robin Cloutman <rycochet at free4all.co.uk>
Type:dev/misc
Version:3.4
Requires:AmigaOS 2.0+
Architecture:m68k-amigaos
Date:1999-08-11
Download:http://aminet.net/dev/misc/Bump.lha - View contents
Readme:http://aminet.net/dev/misc/Bump.readme
Downloads:695

This can easily replace C='s bumprev.

Features:
· User defined output formats. (Unlike bumprev)
· Remembers both version and revision. (Unlike bumprev)
· Easy to use. (Unlike bumprev)
· Output almost identical to bumprev. (Unlike... erm...)
· Includes output for C, C++, ARexx, Asm.
· Includes full source. (gcc version egcs-2.90.27 980315 (egcs-1.0.2 release))
· Has installer.
· 68000-68060 versions.

NOTE:
  Although I have included the source code, I reserve full rights to it.
  If you wish to add/change anything, then do it through me - I don't want
  lots of versions hanging around...

Template:
 Bump
NAME/A,CODE/M,VERSION/S,SETVERSION/K/N,NO=NOREVISION/S,SETREVISION/K/N,QUIET/S

 NAME/A - the base name to use, will create "{NAME}_rev.ver" containing
"{ver}.{rev}".
 CODE/M - which code module(s) to use.
 VERSION/S - bump the version (and set revision to 0).
 SETVERSION/K/N - set the version to this.
 NO=NOREVISION/S - don't bump the revision. (Useful for code generation only)
 SETREVISION/K/N - set the revision to this.
 QUIET/S - don't output any information for the user.

Code Generation:
  All code generation files must reside in "S:" or the location pointed to by
the "BUMPCODE" enviroment variable.
  Each file has the name "bump-*", with the * replaced by the text in each
CODE/M option.
  Every line in the file starting with "##" can be -
  · "## inform ..." Tell the user something.
  · "## suffix ..." Close the current output file, and open another with the
name "{NAME}_rev.{suffix}".
  · "## filename ..." Close the current output file, and open another with this
name.
  · "## ..." anything else is a comment.
  Replaced Symbols:
  · "%n" is the name.
  · "%v" is the version.
  · "%r" is the revision.
  · "%d" is the current date.
  · "%t" is the current time.
  · "%V" is the version of bump used (ie. bump 3.1).
  · "%l?" is the length of the second symbol (ie. "%ld" is replaced by "8")
  (see Bump-test)
  NOTE: You can create more than one output file by using ##suffix and
##filename more than once!

History:
· 1.0 - First effort.
· 1.1 - Added rexx code.
· 1.2 - Added locale support. (REMOVED)
· 1.3 - Minor bug fixed...
· 1.4 - Recompiled with "gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)"
· 1.5 - Automatically generate required code, only need switch first time.
(REMOVED)
· 2.0 - Made resident, otherwise no change.
· 2.1 - Rewrote to make it easier to expand...
· 3.0 - Changed template.
        Made code output user-defined.
        Removed locale support.
        Removed automatic code generation.
· 3.1 - Improved code parsing, user info and multiple files allowed.
· 3.2 - Now searches "PROGDIR:", "S:", and $BUMPCODE for code.
· 3.3 - Also searches {NAME} dir.
· 3.4 - Code cleanup and new ## command (filename).
· 3.5 - Recompiled with "gcc version egcs-2.91.66 19990314 (egcs-1.1.2
release)"
        First Aminet release.


Contents of dev/misc/Bump.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                    0       0 ****** -lh0- 0000 Aug 11  1999 Bump/
[generic]                 2373    3616  65.6% -lh5- 6cdd Aug 11  1999 Bump/Bump
[generic]                  289     568  50.9% -lh5- 4c12 Aug 11  1999 Bump/Bump-asm
[generic]                  327     757  43.2% -lh5- 0835 Aug 11  1999 Bump/Bump-c
[generic]                  287     570  50.4% -lh5- edff Aug 11  1999 Bump/Bump-c++
[generic]                  274     554  49.5% -lh5- 6b94 Aug 11  1999 Bump/Bump-e
[generic]                  259     476  54.4% -lh5- 4f7c Aug 11  1999 Bump/Bump-rexx
[generic]                  233     498  46.8% -lh5- 3687 Aug 11  1999 Bump/Bump-test
[generic]                 2510    3836  65.4% -lh5- 4324 Aug 11  1999 Bump/Bump.020
[generic]                 2510    3836  65.4% -lh5- 0931 Aug 11  1999 Bump/Bump.030
[generic]                 2512    3836  65.5% -lh5- e1c1 Aug 11  1999 Bump/Bump.040
[generic]                 2513    3836  65.5% -lh5- 2b73 Aug 11  1999 Bump/Bump.060
[generic]                 2085    6369  32.7% -lh5- 407d Aug 11  1999 Bump/Bump.c
[generic]                  580    1214  47.8% -lh5- e7ec Aug 11  1999 Bump/Bump.h
[generic]                 1456    3069  47.4% -lh5- 10d5 Aug 11  1999 Bump/Bump.readme
[generic]                  243     654  37.2% -lh5- 580b Aug 11  1999 Bump/Bump_rev.h
[generic]                    4       4 100.0% -lh0- 1af8 Aug 11  1999 Bump/Bump_rev.ver
[generic]                  908    2366  38.4% -lh5- 4702 Aug 11  1999 Bump/Install
[generic]                  378    1264  29.9% -lh5- 71c6 Aug 11  1999 Bump/makefile
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        19 files   19741   37323  52.9%            Aug 11  1999

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>