Commit graph

152 commits

Author SHA1 Message Date
Eric S. Raymond
bc33b1f554 Prevent spurious pipeline failure on GitLab. 2017-06-05 15:22:59 -04:00
Eric S. Raymond
1b391ed6cc Restore Makefile productions needed for CI pipeline. 2017-06-05 14:27:58 -04:00
Eric S. Raymond
d1231f3953 Release preparation. 2017-06-05 14:06:39 -04:00
Jason S. Ninneman
afba06504a Update the pipeline to produce a tarball of the source upon every commit.
Unfortunately, it's not possible to preserve previous tarballs from run to run.
2017-06-04 17:13:28 -07:00
Eric S. Raymond
2f9d798574 Simplification. 2017-06-04 18:54:33 -04:00
Eric S. Raymond
fadb722c59 Typo fix. 2017-06-04 18:53:30 -04:00
Eric S. Raymond
a6b2602b83 Deal wuth GNU tar not being available in Alpine Linux. 2017-06-04 18:40:38 -04:00
Eric S. Raymond
b0fa3ad81c Removed bogus depenency of .h on .h. 2017-06-04 16:45:03 -04:00
Eric S. Raymond
495f4afbe0 Fix a slightly incorrect deoendency. 2017-06-04 16:40:35 -04:00
Eric S. Raymond
9b66a6511b Remove database.h from SOURCES list, it's generated. 2017-06-04 16:26:02 -04:00
Eric S. Raymond
0692b8a6ef Makefile and CI recipe YML rework. 2017-06-04 06:16:46 -04:00
Rémi Verschelde
51e868f591 Honor external CCFLAGS and LDFLAGS 2017-06-04 05:50:39 -04:00
Eric S. Raymond
0b4f19db45 Repair dist slightly broken by previous commit. 2017-06-04 05:50:39 -04:00
Rémi Verschelde
beb762735d Fix Makefile dist target. 2017-06-04 05:50:39 -04:00
Jason S. Ninneman
beb80ff521 Reconfigure the CI pipeline to deploy more static HTML content. 2017-06-03 17:55:57 -07:00
Eric S. Raymond
43aef9ceb1 Add html production for convenience generating the website. 2017-06-03 19:55:13 -04:00
Eric S. Raymond
0f126b0cb5 Fix HTML rules and input. 2017-06-03 19:27:03 -04:00
Eric S. Raymond
35b4c4156b Create website iindex and hints pages. 2017-06-03 14:57:39 -04:00
Eric S. Raymond
681ecd9a4f Use "adoc" extension for asciidoc, it's the GitLab convention. 2017-06-03 14:29:44 -04:00
Jason S. Ninneman
900f8d9df5 Do code coverage analysis, and publish the results to GitLab Pages. 2017-06-02 15:52:52 -07:00
Eric S. Raymond
d402e09411 Header consolidation - main.h, misc.h, and share.h merge to advent.h.
For a project this small size with a small type ontology, it's better
C style to have one header where all the assumptions about types and
structures are immediately visible.

This is a first step towards turning all that global state into a handful
of structures - probably just two, one saveable as a binary game state.
2017-06-02 15:06:33 -04:00
Michael Jarvis
467a255653 Add explicit rule for compile to use CCFLAGS instead of CFLAGS (take two) 2017-06-02 08:44:40 -04:00
Michael Jarvis
c14c5952a7 Revert "Add explicit rule for compile to use CCFLAGS instead of CFLAGS"
This reverts commit c29e30d25c.
2017-06-02 08:44:40 -04:00
Michael Jarvis
2620bf922f Add explicit rule for compile to use CCFLAGS instead of CFLAGS 2017-06-02 08:44:40 -04:00
Eric S. Raymond
f373d87ba7 Hand merge of MR !31: Update the CI infrastructure to be faster 2017-06-02 06:42:35 -04:00
Eric S. Raymond
2e5c6cf810 Simplify inclusion computation so it's BSD-friendly. 2017-05-31 14:53:01 -04:00
Jason S. Ninneman
80bf70f0a6 Fix dependencies so parallel make works (issue #4). 2017-05-31 10:52:46 -07:00
Eric S. Raymond
aacd3a5f8d Add a missing dependency. 2017-05-31 13:08:23 -04:00
Jason S. Ninneman
f5302b3b46 Don't build with two -std options. 2017-05-29 10:57:47 -07:00
Jason S. Ninneman
519d8f07e6 Really mean it about strict C99 compliance. 2017-05-29 09:30:37 -07:00
Eric S. Raymond
270ecf8f02 Minor build tweaks. 2017-05-29 11:39:19 -04:00
Warren Melnick
7555c5354a Move the if for GCC 4 to an elseif so it does not interfere with MacOS 2017-05-29 10:52:51 -04:00
Warren Melnick
ae3c34084f Test for >= gcc 4, and change to g99 -std=gnu99 for the compiler if it is found. 2017-05-29 10:42:37 -04:00
Eric S. Raymond
779a1cceae Don't assume gcc. 2017-05-29 09:02:12 -04:00
Eric S. Raymond
6facfe1588 MacOS port fix. 2017-05-29 09:02:12 -04:00
Jason S. Ninneman
d2ad61cbe1 Remove 'compile' upon 'make clean'.
Also remove a disused rule.
2017-05-28 22:53:03 -07:00
Eric S. Raymond
5ae76995d2 Simplify build: nested makefiles considered harmful. 2017-05-29 01:33:59 -04:00
Jason S. Ninneman
f0528b0ded Move database compilation out into its own tool (for now). 2017-05-28 21:46:54 -07:00
Jason S. Ninneman
df46df6979 Factor out handling of variables populated from the database.
This reorganization is a first step toward handling database compilation separately.
2017-05-28 15:42:05 -07:00
Eric S. Raymond
67b8d38f53 Correct a dependency. 2017-05-27 10:24:34 -04:00
Eric S. Raymond
f2043034e5 Use C99 moode of compiler. 2017-05-26 14:03:17 -04:00
NHOrus
df23b58032 Different, correct fix of tests
Now without caching .data and extended cleanup
2017-05-26 09:41:54 +03:00
Eric S. Raymond
894724d1c8 First version of regression tests.
Only one test so far but the framework for more is in place.
2017-05-26 00:22:51 -04:00
Eric S. Raymond
76527321b5 Repair CentOS 6 build (fails due to clock_gettime() being undefined)
GitLab issue #2.
2017-05-25 09:09:11 -04:00
Eric S. Raymond
e3e01af7fa Remove cached data on clean.
We've had two instances now of database compilation getting silently
broken and that not noticed because of the caching. Attempt to
forestall this.
2017-05-24 18:29:26 -04:00
Eric S. Raymond
8e86d0dca3 Documentation polishing. Add TODO. 2017-05-19 13:30:12 -04:00
Eric S. Raymond
23f2dbe814 Replace fDATIME with ANSI/POSIX clock_gettime(). Rip out DOS/AMIGA shims.
The thinking here is that we simplify life by going pure ANSI/POSIX.
This is a text game.  If it ever runs on anything but Unix again it's
almost certain to be on something like WSL that supplies a
POSIX-conformant text console.
2017-05-18 17:18:16 -04:00
Eric S. Raymond
c1635d7378 Add control file for shipper. 2017-05-18 07:30:04 -04:00
Eric S. Raymond
8e73ebf31b Consistent use of 'advent' to avoid collision with BSD Games.
Manual page added.
2017-05-18 07:18:53 -04:00
Eric S. Raymond
13d4f5bda0 Relicense to 2-clause BSD. Befin the history document. 2017-05-15 01:57:17 -04:00