summaryrefslogtreecommitdiff
path: root/scripts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace tcourse.sql with an example importable CSVRunxi Yu6 days1-1/+1
|
* *.go, schema.sql, staff.html: Implement state settingRunxi Yu7 days1-1/+1
| | | | References: https://todo.sr.ht/~runxiyu/cca/13
* eslint.sh: Call eslint directly rather than through npxRunxi Yu7 days1-1/+1
|
* Revert "latexify-source.sh: \subsection{\texttt{%s}}"Runxi Yu9 days1-11/+11
| | | | This reverts commit a9916b3a7df327836f18011edcbf8cc218260f89.
* latexify-source.sh: Don't set -xRunxi Yu9 days1-1/+1
|
* postgres_run.sh: Remove as unnecessaryRunxi Yu9 days1-3/+0
|
* latexify-source.sh: \subsection{\texttt{%s}}Runxi Yu10 days1-11/+11
|
* .editorconfig, latexify-source.sh, student.js: Indent 4, wrap 85Runxi Yu10 days1-1/+1
|
* iadocs, etc.: Add source to appendixRunxi Yu10 days2-0/+83
|
* deploy.sh: Add deployment scriptRunxi Yu10 days1-0/+18
|
* *: Overhaul structure again and embed everythingRunxi Yu11 days1-1/+0
| | | | | | | | - Remove sub-Makefiles; recursive make is annoying - Just use one top-level Makefile that builds everything - Embed templates and minified static resources into the binary - Embed all compiled documentation into the binary and serve - Embed all source into the binary and serve
* *: Further restructuringRunxi Yu11 days1-1/+1
|
* *.go: Move to backendRunxi Yu11 days1-0/+2
| | | | And adjust Makefiles, admin handbook, and lint.sh accordingly.
* postgres_shell.sh: Delete as unnecessaryRunxi Yu13 days1-3/+0
| | | | Just use "psql cca"
* lint.sh: Disable nonamedreturnsRunxi Yu13 days1-1/+1
| | | | I used named returns to inspect return values (especially error values)
* lint.sh: Disable dogsled and unparamRunxi Yu2024-10-011-1/+1
| | | | | | | dogsled forbids patterns such as "_, _, _ = a, b, c" for no reason. unparam warns about unused parameters even when I'm assigning them to _ to indicate that it's fine for them to be unused.
* lint.sh: Disable yet another cyclomatic complexity checkerRunxi Yu2024-10-011-1/+1
|
* lint.sh: Disable yet another cyclomatic complexity checkerRunxi Yu2024-10-011-1/+1
|
* postgres_run.sh: Run in debug level 2Runxi Yu2024-10-011-1/+1
| | | | | This allows SQL statements to be logged which makes debugging much easier. Also "$@" is added so any extra arguments may be passed.
* pre-commit hook: Use && to chain lint.sh and eslint.shRunxi Yu2024-09-291-2/+1
|
* lint.sh: Disable gocognitRunxi Yu2024-09-291-1/+1
|
* Add the pre-commit hookRunxi Yu2024-09-291-0/+4
|
* eslint.sh: Pass additional arguments to eslint (to use e.g. --fix)Runxi Yu2024-09-291-1/+1
|
* Add eslint.shRunxi Yu2024-09-281-0/+7
|
* lint.sh: Add #!/bin/shRunxi Yu2024-09-261-0/+1
|
* *.go: Wrap errorsRunxi Yu2024-09-261-1/+1
|
* lint.sh: Disable some bad checkersRunxi Yu2024-09-261-1/+1
|
* docs, scripts, sql: Sort support files into subdirectoriesRunxi Yu2024-09-243-0/+7