moving ci/cd over to forgejo
This commit is contained in:
parent
0ebdb34601
commit
3c9edb1e0b
13 changed files with 57 additions and 29 deletions
|
@ -15,23 +15,11 @@ add_custom_target(build-version
|
|||
|
||||
add_custom_target(build-supplemental
|
||||
COMMAND cd ../build_supp && python3 ./error_gen.py
|
||||
COMMAND cp -r ../www .
|
||||
DEPENDS build_supp/version.txt www/* build_supp/error_gen.py build-version
|
||||
COMMAND mkdir www && cp -r ../default_www/regular/* ./www/
|
||||
DEPENDS build_supp/version.txt ../default_www/regular/* build_supp/error_gen.py build-version
|
||||
COMMENT "Generated supplemental build files (default www dir + error pages)"
|
||||
)
|
||||
|
||||
add_custom_target(lint
|
||||
COMMAND clang-tidy *.cpp
|
||||
)
|
||||
|
||||
add_custom_target(lint-fix
|
||||
COMMAND clang-tidy *.cpp -fix -fix-errors
|
||||
)
|
||||
|
||||
add_custom_target(build-docker
|
||||
COMMAND docker build .. -t anthracite
|
||||
)
|
||||
|
||||
add_custom_target(run
|
||||
COMMAND anthracite-bin
|
||||
DEPENDS anthracite-bin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue