Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
muppet-strings
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Hugo Hörnquist
muppet-strings
Commits
513feb56
Commit
513feb56
authored
1 year ago
by
Hugo Hörnquist
Browse files
Options
Downloads
Patches
Plain Diff
Rewrote makefile to match current usage.
parent
06e1dcf4
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+5
-15
5 additions, 15 deletions
Makefile
with
5 additions
and
15 deletions
Makefile
+
5
−
15
View file @
513feb56
.PHONY
:
all check test
.PHONY
:
all
output
check test
CACHE_DIR
=
.cache
all
:
output
$(
shell
mkdir
-p
$(
CACHE_DIR
))
output
:
python
-m
muppet
--env
~/puppet/generated-environments/production/modules/
include
.deps.mk
$(CACHE_DIR)/output.json
:
./merge-json.py
--out
$@
$^
$(CACHE_DIR)/%.json
:
cd
$<
&&
puppet strings generate
--format
json
--out
$(
CURDIR
)
/
$@
index.html
:
$(CACHE_DIR)/output.json *.py
python3 main.py
$<
>
$@
check
:
check
:
flake8 muppet
flake8 muppet
...
@@ -23,4 +13,4 @@ test:
...
@@ -23,4 +13,4 @@ test:
python
-m
pytest
python
-m
pytest
clean
:
clean
:
-
rm
-r
$(
CACHE_DIR
)
/
*
-
rm
-r
output
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