Skip to content

Commit

Permalink
remove custom commands and custom scripts (GothenburgBitFactory#3468)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixschurk authored May 28, 2024
1 parent 50052f5 commit 236a5f0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 105 deletions.
17 changes: 0 additions & 17 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,23 +158,6 @@ foreach (doc_FILE ${doc_FILES})
install (FILES ${doc_FILE} DESTINATION ${TASK_DOCDIR})
endforeach (doc_FILE)

add_custom_command(OUTPUT run-review
COMMAND docker build -q --build-arg PR=$(PR) --build-arg LIBPR=$(LIBPR) -t taskwarrior-review:$(PR)s$(LIBPR) - < scripts/review-dockerfile
COMMAND docker run --rm --memory 1g --hostname pr-$(PR)s$(LIBPR) -it taskwarrior-review:$(PR)s$(LIBPR) bash || :
)
add_custom_target(review DEPENDS run-review)

add_custom_command(OUTPUT run-reproduce
COMMAND docker build -q --build-arg RELEASE=$(RELEASE) -t taskwarrior-reproduce:$(RELEASE) - < scripts/reproduce-dockerfile
COMMAND docker run --rm --memory 1g --hostname tw-$(RELEASE) -it taskwarrior-reproduce:$(RELEASE) bash || :
)
add_custom_target(reproduce DEPENDS run-reproduce)

add_custom_command(OUTPUT show-problems
COMMAND cd test && ./problems
)
add_custom_target(problems DEPENDS show-problems)

# ---

set (CPACK_SOURCE_GENERATOR "TGZ")
Expand Down
34 changes: 0 additions & 34 deletions scripts/reproduce-dockerfile

This file was deleted.

54 changes: 0 additions & 54 deletions scripts/review-dockerfile

This file was deleted.

0 comments on commit 236a5f0

Please sign in to comment.