]> infiniteadaptability.org Git - workouts/commit
removed hand-rolled opt parser
authoralex <[email protected]>
Sun, 25 Oct 2020 21:06:54 +0000 (14:06 -0700)
committeralex <[email protected]>
Sun, 25 Oct 2020 21:06:54 +0000 (14:06 -0700)
commit9d3d7017284c520b7a22c274e54245c2548ff3b6
tree01ffdb6751b37955da99b038a9c3b9f27e4c6743
parent1f6980b9bf480587c60359762374091b89b3de3b
removed hand-rolled opt parser

added getopt_long
added new unit tests
fixed integration tests accordingly
added custom logging functionality
55 files changed:
Dockerfile
Makefile.am
include/add.h
include/attr.h
include/default.h
include/log.h [new file with mode: 0644]
include/ls.h
include/main.h
include/new.h
include/opt.h
include/recent.h
include/toggle.h
include/usage.h
src/add.c
src/attr.c
src/default.c
src/log.c [new file with mode: 0644]
src/ls.c
src/main.c
src/new.c
src/opt.c [deleted file]
src/opt/homedir.c
src/opt/loglvl.c [new file with mode: 0644]
src/opt/rows.c
src/opt/verbose.c [deleted file]
src/recent.c
src/toggle.c
src/usage.c
test/integration/test/add.integration.test.js
test/integration/test/attr.integration.test.js
test/integration/test/basic.test.js
test/integration/test/ls.integration.test.js
test/integration/test/new.integration.test.js
test/integration/test/toggle.integration.test.js
test/unit/Makefile.am
test/unit/add.tests.c [new file with mode: 0644]
test/unit/add.tests.h [new file with mode: 0644]
test/unit/attr.tests.c
test/unit/attr.tests.h
test/unit/data.attr.tests.c [new file with mode: 0644]
test/unit/data.attr.tests.h [new file with mode: 0644]
test/unit/data.recent.tests.c [new file with mode: 0644]
test/unit/data.recent.tests.h [new file with mode: 0644]
test/unit/data.workout.tests.c [moved from test/unit/workout.tests.c with 98% similarity]
test/unit/data.workout.tests.h [moved from test/unit/workout.tests.h with 100% similarity]
test/unit/ls.tests.c [new file with mode: 0644]
test/unit/ls.tests.h [new file with mode: 0644]
test/unit/new.tests.c [new file with mode: 0644]
test/unit/new.tests.h [new file with mode: 0644]
test/unit/recent.tests.c
test/unit/recent.tests.h
test/unit/test_utils.c
test/unit/test_utils.h
test/unit/toggle.tests.c [new file with mode: 0644]
test/unit/toggle.tests.h [new file with mode: 0644]