Commit graph

22 commits

Author SHA1 Message Date
pho4cexa
f09f679ad3 mark main.scm executable for use without compile 2022-12-04 20:57:13 -05:00
pho4cexa
b3719a005d build html only when HEAD branch changes; cleanup:
post-receive commit hooks receive on standard input lines of the form:

old-commit new-commit ref
old-commit new-commit ref
old-commit new-commit ref

so we can inspect those lines to determine whether or not the current
branch (aka HEAD) has been changed. because there's no reason to rebuild
the html representation of other branches.

in future we might even use the git tree-diff between old-commit and
new-commit to determine the set of files that have been added, removed,
or changed, and regenerate the html representation for only those files,
instead of deleting and rebuilding all files every time.
2022-12-04 20:57:07 -05:00
pho4cexa
aac42ed7b2 simplify redundant (if COND #t #f) 2022-12-04 20:57:02 -05:00
pho4cexa
58bd6a150d add shebang line so we can use without compilation 2022-12-04 20:56:25 -05:00
m455
90cd48eea8 small wording edit 2022-12-04 01:34:19 -05:00
m455
ea242d599b small tweak to quickstart section 2022-12-04 01:30:02 -05:00
m455
fa8eb2d4e2 updated readme
- populated the compilation section
- populated the usage section
- populated the configuration section
2022-12-04 01:25:44 -05:00
m455
c014aefc74 expanded on the todos section 2022-12-04 00:58:51 -05:00
m455
9e10d3afd5 added license :) 2022-12-04 00:51:48 -05:00
m455
3f2f056f8c updated readme
- renamed post-receive.sample to post-receive
- fixed file permissions on post-receive file
2022-12-04 00:46:31 -05:00
m455
b9c3c29162 made inline code pink as well 2022-12-03 00:47:48 -05:00
m455
76b127175c renamed some functions
- renamed generate-readme-file to generate-readme-page
- renamed generate-files-file to generate-files-page
2022-12-02 23:53:53 -05:00
m455
0216eacef6 cleaned up main.scm
- removed old comments
- moved todos and nice-to-haves into the README.md's todos and hopes
- changed gobally mutated variables to be global constants. originally
  these were mutated because the code was structured differently, and
  allowed an option argument, specifying which bare git repo to use, but
  i removed that, and forgot to remove and change the cruft
2022-12-02 23:31:54 -05:00
pho4cexa
1165ba3342 html templating using ml string w/expressions
http://wiki.call-cc.org/man/5/Extensions%20to%20the%20standard#multiline-string-constant-with-embedded-expressions
2022-12-02 22:39:51 -05:00
pho4cexa
663be9e77c simplify capture of env vars with defaults 2022-12-02 22:39:32 -05:00
Jesse Laprade
f2351eba33 combined two sections into one 2022-12-02 17:34:21 -05:00
Jesse Laprade
37304ab0fd changed description 2022-12-02 17:13:34 -05:00
Jesse Laprade
0bf49e03b6 removed mysterious .gitignore.html lol 2022-12-02 16:56:25 -05:00
Jesse Laprade
403fd36d6a docs: updated requirements 2022-12-02 16:54:38 -05:00
Jesse Laprade
0146087955 fixed codeblock in readme 2022-12-02 16:49:37 -05:00
Jesse Laprade
57859b31fa lightened shade of the default pink 2022-12-02 16:47:20 -05:00
Jesse Laprade
32c540a903 first commit 2022-12-02 16:41:55 -05:00