Skip to content

Commit

Permalink
.tool-versions Makefile .gitkeep
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgo committed Feb 20, 2025
1 parent 8ad1c4c commit 8c240dd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
Empty file added .tool-versions
Empty file.
17 changes: 12 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Lerna terminology:
# - dependents = downstreams (my dependents, those that are dependent on me)
# - dependencies = upstreams (my dependencies, those that I depend on)
# dev tooling and versions
RUN_THAT_APP_VERSION = 0.13.0

YARN_ARGS = FORCE_COLOR=1

Expand Down Expand Up @@ -36,8 +35,8 @@ setup: # prepares the mono-repo for development after cloning
yarn
make --no-print-directory build

stats: # shows code statistics
find . -type f | grep -v '/node_modules/' | grep -v '/dist/' | grep -v '\./.git/' | grep -v '\./\.vscode/' | grep -v '\./tmp/' | xargs scc
stats: tools/rta@${RUN_THAT_APP_VERSION} # shows code statistics
find . -type f | grep -v '/node_modules/' | grep -v '/dist/' | grep -v '\./.git/' | grep -v '\./\.vscode/' | grep -v '\./tmp/' | xargs tools/rta scc

ps: # pitstop
env $(YARN_ARGS) yarn exec --silent -- turbo run fix test --concurrency=100%
Expand All @@ -53,5 +52,13 @@ unit: # runs all tests
env $(YARN_ARGS) yarn exec --silent -- turbo run unit --concurrency=100%


# --- HELPER TARGETS --------------------------------------------------------------------------------------------------------------------------------

tools/rta@${RUN_THAT_APP_VERSION}:
@rm -f tools/rta* tools/rta
@(cd tools && curl https://raw.githubusercontent.com/kevgo/run-that-app/main/download.sh | sh)
@mv tools/rta tools/rta@${RUN_THAT_APP_VERSION}
@ln -s rta@${RUN_THAT_APP_VERSION} tools/rta

.SILENT:
.DEFAULT_GOAL := help
Empty file added tools/.gitkeep
Empty file.

0 comments on commit 8c240dd

Please sign in to comment.