Add wrapper script for master program
This commit is contained in:
6
TODO.md
6
TODO.md
@@ -16,9 +16,13 @@
|
||||
- Should have sane defaults
|
||||
- Adding new arguments should be easy and obvious
|
||||
|
||||
- [ ] Add wrapper script to run main program (so that various assumptions related
|
||||
- [x] Add wrapper script to run master program (so that various assumptions related
|
||||
to relative paths are safer)
|
||||
|
||||
- [ ] move `master-bin` into a subdir like `master/cmd` or whatever is
|
||||
idiomatic for golang programs; adapt `master` wrapper shell script
|
||||
accordingly
|
||||
|
||||
- [ ] Add unit tests all over the place.
|
||||
- ⚠️ Huge task - needs breakdown before starting
|
||||
|
||||
|
||||
2
master/.gitignore
vendored
2
master/.gitignore
vendored
@@ -1 +1 @@
|
||||
master
|
||||
master-bin
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
module philologue.net/diachron/master
|
||||
module philologue.net/diachron/master-bin
|
||||
|
||||
go 1.23.3
|
||||
|
||||
|
||||
8
master/master
Executable file
8
master/master
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
cd "$DIR"
|
||||
|
||||
./master-bin "$@"
|
||||
|
||||
Reference in New Issue
Block a user