Skip to content

Commit

Permalink
Fix clean of timestamp files.
Browse files Browse the repository at this point in the history
  • Loading branch information
orenbenkiki committed Apr 7, 2024
1 parent dd4192d commit 5e5d7cb
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
.*.swp
.DS_Store
TAGS
deps/.*
deps/.did.*
deps/build.log
junk*
tags
Expand Down
42 changes: 21 additions & 21 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,45 +4,45 @@ TODO_X = $(TODO)x
.PHONY: ci
ci: format check coverage docs $(TODO_X) unindexed_files

$(TODO_X): deps/.$(TODO_X)
$(TODO_X): deps/.did.$(TODO_X)

deps/.$(TODO_X): $(shell git ls-files | grep -v docs)
deps/.did.$(TODO_X): $(shell git ls-files | grep -v docs)
deps/$(TODO_X).sh
@touch deps/.$(TODO_X)
@touch deps/.did.$(TODO_X)

.PHONY: unindexed_files
unindexed_files:
@deps/unindexed_files.sh

.PHONY: format
format: deps/.format
deps/.format: */*.jl deps/format.sh deps/format.jl
format: deps/.did.format
deps/.did.format: */*.jl deps/format.sh deps/format.jl
deps/format.sh
@touch deps/.format
@touch deps/.did.format

.PHONY: check
check: static_analysis jet aqua untested_lines

.PHONY: static_analysis
static_analysis: deps/.static_analysis
static_analysis: deps/.did.static_analysis

deps/.static_analysis: *.toml src/*.jl test/*.toml test/*.jl deps/static_analysis.sh deps/static_analysis.jl
deps/.did.static_analysis: *.toml src/*.jl test/*.toml test/*.jl deps/static_analysis.sh deps/static_analysis.jl
deps/static_analysis.sh
@touch deps/.static_analysis
@touch deps/.did.static_analysis

.PHONY: jet
jet: deps/.jet
jet: deps/.did.jet

deps/.jet: *.toml src/*.jl test/*.toml test/*.jl deps/jet.sh deps/jet.jl deps/jet.py
deps/.did.jet: *.toml src/*.jl test/*.toml test/*.jl deps/jet.sh deps/jet.jl deps/jet.py
deps/jet.sh
@touch deps/.jet
@touch deps/.did.jet

.PHONY: aqua
aqua: deps/.aqua
aqua: deps/.did.aqua

deps/.aqua: *.toml src/*.jl test/*.toml test/*.jl deps/aqua.sh deps/aqua.jl
deps/.did.aqua: *.toml src/*.jl test/*.toml test/*.jl deps/aqua.sh deps/aqua.jl
deps/aqua.sh
@touch deps/.aqua
@touch deps/.did.aqua

.PHONY: test
test: tracefile.info
Expand All @@ -51,18 +51,18 @@ tracefile.info: *.toml src/*.jl test/*.toml test/*.jl deps/test.sh deps/test.jl
deps/test.sh

.PHONY: line_coverage
line_coverage: deps/.coverage
line_coverage: deps/.did.coverage

deps/.coverage: tracefile.info deps/line_coverage.sh deps/line_coverage.jl
deps/.did.coverage: tracefile.info deps/line_coverage.sh deps/line_coverage.jl
deps/line_coverage.sh
@touch deps/.coverage
@touch deps/.did.coverage

.PHONY: untested_lines
untested_lines: deps/.untested
untested_lines: deps/.did.untested

deps/.untested: deps/.coverage deps/untested_lines.sh
deps/.did.untested: deps/.did.coverage deps/untested_lines.sh
deps/untested_lines.sh
@touch deps/.untested
@touch deps/.did.untested

.PHONY: coverage
coverage: untested_lines line_coverage
Expand Down
2 changes: 1 addition & 1 deletion deps/clean.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
set -e -o pipefail
rm -rf tracefile.info src/*.cov src/*/*.cov test/*.cov docs/build docs/assets docs/*.{html,js,cov} deps/.format deps/.untested
rm -rf tracefile.info src/*.cov src/*/*.cov test/*.cov docs/build docs/assets docs/*.{html,js,cov} deps/.did.*

0 comments on commit 5e5d7cb

Please sign in to comment.