/shlomif-settings/Bash/Themes/themes/nurikabe/shlomif/source.bash
BASH | 41 lines | 33 code | 8 blank | 0 comment | 1 complexity | 1b337fba18d33918ed8f70b4812cac23 MD5 | raw file
- load_common mymake
- load_common completion
- load_common prompt
- load_common hg
- base="$HOME/progs/games/nurikabe"
- hg_base="$base"
- trunk="$base/trunk"
- c_src="$trunk/nurikabe-solver"
- module="$c_src/Games-Nurikabe-Solver"
- remote_repo="$(_shlomif_bitbucket "nurikabe")"
- this="$module"
- cd "$this"
- setup()
- {
- (
- mkdir -p "$base"
- cd "$base"
- hg clone 'ssh://hg@bitbucket.org/shlomif/nurikabe' trunk
- )
- }
- t()
- {
- cd "$this" && ./Build runtest
- }
- prompt()
- {
- __prompt_cmd \
- "\$module=$module" \
- "\$trunk=$trunk" \
- "\$base=$base" \
- "~=$HOME"
- }
- proj_name='nurikabe'