Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
1b3be32b
Commit
1b3be32b
authored
2 years ago
by
Andre Maroneze
Browse files
Options
Downloads
Patches
Plain Diff
[ivette] rename checkdir -> checkcase
parent
5b0f5efe
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ivette/Makefile
+6
-4
6 additions, 4 deletions
ivette/Makefile
with
6 additions
and
4 deletions
ivette/Makefile
+
6
−
4
View file @
1b3be32b
...
@@ -31,7 +31,7 @@ DOME_CUSTOM_ENTRIES= yes
...
@@ -31,7 +31,7 @@ DOME_CUSTOM_ENTRIES= yes
COPYRIGHT
=
CEA LIST / LSL
COPYRIGHT
=
CEA LIST / LSL
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
.PHONY
:
all app dev pkg doc serve dist lint fixlint check
dirs
.PHONY
:
all app dev pkg doc serve dist lint fixlint check
case
all
:
pkg lint app
all
:
pkg lint app
...
@@ -39,13 +39,15 @@ app: dome-app
...
@@ -39,13 +39,15 @@ app: dome-app
dev
:
dome-dev
dev
:
dome-dev
dist
:
dome-dist
dist
:
dome-dist
lint
:
dome-pkg dome-templ check
dirs
lint
:
dome-pkg dome-templ check
case
@
echo
"[Ivette] running typechecker & linter"
@
echo
"[Ivette] running typechecker & linter"
yarn run typecheck
yarn run typecheck
yarn run lint
yarn run lint
checkdirs
:
# In case-insensitive filesystems (macOS/Windows), import statements and
@
echo
"[Ivette] check imported filenames"
# filenames can have issues due to case differences
checkcase
:
@
echo
"[Ivette] check case issues in imported filenames"
@
err
=
0
;
for
f
in
`
find src |
sed
-E
's/(.ts|.tsx|.js|.jsx|.css|.json)$$//'
|
sort
-f
|
uniq
-di
`
;
\
@
err
=
0
;
for
f
in
`
find src |
sed
-E
's/(.ts|.tsx|.js|.jsx|.css|.json)$$//'
|
sort
-f
|
uniq
-di
`
;
\
do
\
do
\
err
=
1
;
\
err
=
1
;
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment