summaryrefslogtreecommitdiff
path: root/scripts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *.go, schema.sql, staff.html: Implement state settingRunxi Yu2024-10-091-1/+1
| | | | References: https://todo.sr.ht/~runxiyu/cca/13
* eslint.sh: Call eslint directly rather than through npxRunxi Yu2024-10-091-1/+1
|
* Revert "latexify-source.sh: \subsection{\texttt{%s}}"Runxi Yu2024-10-071-11/+11
| | | | This reverts commit a9916b3a7df327836f18011edcbf8cc218260f89.
* latexify-source.sh: Don't set -xRunxi Yu2024-10-071-1/+1
|
* postgres_run.sh: Remove as unnecessaryRunxi Yu2024-10-071-3/+0
|
* latexify-source.sh: \subsection{\texttt{%s}}Runxi Yu2024-10-071-11/+11
|
* .editorconfig, latexify-source.sh, student.js: Indent 4, wrap 85Runxi Yu2024-10-061-1/+1
|
* iadocs, etc.: Add source to appendixRunxi Yu2024-10-062-0/+83
|
* deploy.sh: Add deployment scriptRunxi Yu2024-10-061-0/+18
|
* *: Overhaul structure again and embed everythingRunxi Yu2024-10-061-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 Yu2024-10-051-1/+1
|
* *.go: Move to backendRunxi Yu2024-10-051-0/+2
| | | | And adjust Makefiles, admin handbook, and lint.sh accordingly.
* postgres_shell.sh: Delete as unnecessaryRunxi Yu2024-10-041-3/+0
| | | | Just use "psql cca"
* lint.sh: Disable nonamedreturnsRunxi Yu2024-10-031-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