Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
Quito watch y actualizo snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
RaniAgus committed Mar 24, 2024
1 parent 63e7fcf commit b2aa6f1
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 73 deletions.
4 changes: 0 additions & 4 deletions docs/.vitepress/configs/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ export const sidebar = {
// text: 'Shared Libraries',
// link: '/guia/avanzado/shared-libraries'
// },
{
text: 'Escuchar cambios en el código',
link: '/guia/avanzado/escuchar-cambios'
},
],
},
],
Expand Down
6 changes: 3 additions & 3 deletions docs/guia/avanzado/code.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ El mismo cuenta con una task especificando lo siguiente:

::: code-group

<<< @/../src/project/.vscode/tasks.json#build{json:line-numbers}
<<< @/../src/configs/vscode/tasks.json{4-13 json:line-numbers}

:::

Expand All @@ -46,7 +46,7 @@ el cual se indica, entre otras cosas:

::: code-group

<<< @/../src/project/.vscode/launch.json#run{json:line-numbers}
<<< @/../src/configs/vscode/launch.json{json:line-numbers}

:::

Expand Down Expand Up @@ -88,7 +88,7 @@ posibles bugs. Veamos cómo está conformado `c_cpp_properties.json`:

::: code-group

<<< @/../src/project/.vscode/c_cpp_properties.json{7-10 json:line-numbers}
<<< @/../src/configs/vscode/c_cpp_properties.json{5-7 json:line-numbers}

:::

Expand Down
45 changes: 0 additions & 45 deletions docs/guia/avanzado/escuchar-cambios.md

This file was deleted.

7 changes: 0 additions & 7 deletions src/templates/compilation.mk
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,6 @@ release: $(BIN)
clean:
-rm -rfv obj bin

.PHONY: watch
watch:
@test $(shell which entr) || entr
while sleep 0.1; do \
find src/ | entr -d make all --no-print-directory; \
done

$(BIN): $(OBJS) | $(dir $(BIN))
$(call compile_bin)

Expand Down
7 changes: 0 additions & 7 deletions src/templates/execution.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@
start: debug
valgrind --tool=none ./$(BIN) $(ARGS)

.PHONY: daemon
daemon:
@test $(shell which entr) || entr
while sleep 0.1; do \
find src/ | entr -d make start --no-print-directory; \
done

.PHONY: memcheck
memcheck: debug
valgrind --leak-check=full $(MEMCHECK_FLAGS) ./$(BIN) $(ARGS)
Expand Down
7 changes: 0 additions & 7 deletions src/templates/testing.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@ ifeq ($(TESTS_ENABLED),1)
test: $(TEST)
valgrind --tool=none ./$(TEST)

.PHONY: test-daemon
test-daemon:
@test $(shell which entr) || entr
while sleep 0.1; do \
find tests/ src/ | entr -d make test --no-print-directory; \
done

.PHONY: test-memcheck
test-memcheck: $(TEST)
valgrind --leak-check=full $(MEMCHECK_FLAGS) ./$(TEST)
Expand Down

0 comments on commit b2aa6f1

Please sign in to comment.