I got tired of downloading my own scripts from Github when working among multiple projects. So I automated it, of course. The bitsh project reuses a test script from the shell project, and now the Makefile
for bitsh is simply:
SHELL=/bin/bash test: @[ -t 1 ] && flags=-c ; \ ./test-bitsh.sh -i -- $$flags t
When run-tests
is updated in Github, bitsh automatically picks up the changes. And I learned the value of ETag.
By the way, why "bitsh"? I hunted around for project names combining "git" and "bash" and found most of them already taken. Beggars can't be choosers.
UPDATE: I found the <TAB> character got munged by Blogger to a single space. This is unfortunate as you cannot copy out a valid Makefile
. One solution is to put in an HTML tab entity.
No comments:
Post a Comment