mirror of
https://github.com/daylinmorgan/task.mk.git
synced 2024-12-22 18:00:44 -06:00
Compare commits
No commits in common. "0c2f7c292b01504d99756b2b6411b965a6d4f5d7" and "8a53f0d14ce62f25429a07fd70a8dc0fbfbc36cc" have entirely different histories.
0c2f7c292b
...
8a53f0d14c
24 changed files with 313 additions and 310 deletions
8
404.html
8
404.html
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
|
|
||||||
<link rel="icon" href="/task.mk/assets/images/favicon.png">
|
<link rel="icon" href="/task.mk/assets/images/favicon.png">
|
||||||
<meta name="generator" content="mkdocs-1.3.1, mkdocs-material-8.5.3">
|
<meta name="generator" content="mkdocs-1.3.1, mkdocs-material-8.5.2">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="/task.mk/assets/stylesheets/main.7a952b86.min.css">
|
<link rel="stylesheet" href="/task.mk/assets/stylesheets/main.9f9400aa.min.css">
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="/task.mk/assets/stylesheets/palette.cbb835fc.min.css">
|
<link rel="stylesheet" href="/task.mk/assets/stylesheets/palette.cbb835fc.min.css">
|
||||||
|
@ -438,12 +438,12 @@
|
||||||
<div class="md-dialog__inner md-typeset"></div>
|
<div class="md-dialog__inner md-typeset"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script id="__config" type="application/json">{"base": "/task.mk/", "features": ["navigation.indexes"], "search": "/task.mk/assets/javascripts/workers/search.5bf1dace.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version.title": "Select version"}}</script>
|
<script id="__config" type="application/json">{"base": "/task.mk/", "features": ["navigation.indexes"], "search": "/task.mk/assets/javascripts/workers/search.ecf98df9.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version.title": "Select version"}}</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="/task.mk/assets/javascripts/bundle.37e9125f.min.js"></script>
|
<script src="/task.mk/assets/javascripts/bundle.39f04ddb.min.js"></script>
|
||||||
|
|
||||||
<script src="/task.mk/javascripts/asciinema-player.min.js"></script>
|
<script src="/task.mk/javascripts/asciinema-player.min.js"></script>
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/stylesheets/main.7a952b86.min.css
vendored
1
assets/stylesheets/main.7a952b86.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/stylesheets/main.9f9400aa.min.css
vendored
Normal file
1
assets/stylesheets/main.9f9400aa.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
assets/stylesheets/main.9f9400aa.min.css.map
Normal file
1
assets/stylesheets/main.9f9400aa.min.css.map
Normal file
File diff suppressed because one or more lines are too long
|
@ -9,7 +9,7 @@ all: $(CASTS)
|
||||||
%/demo.cast: %/record.sh
|
%/demo.cast: %/record.sh
|
||||||
asciinema rec --cols $(COLS) --rows $(ROWS) --overwrite -c $< $@
|
asciinema rec --cols $(COLS) --rows $(ROWS) --overwrite -c $< $@
|
||||||
|
|
||||||
check/demo.cast: COLS = 48
|
check/demo.cast: COLS = 45
|
||||||
check/demo.cast: ROWS = 12
|
check/demo.cast: ROWS = 12
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
|
@ -11,6 +11,6 @@ define USAGE
|
||||||
interactivity w/ task.mk\n
|
interactivity w/ task.mk\n
|
||||||
endef
|
endef
|
||||||
|
|
||||||
.DEFAULT_GOAL = help
|
.DEFUALT_GOAL = help
|
||||||
include $(shell git rev-parse --show-toplevel)/task.mk
|
include $(shell git rev-parse --show-toplevel)/task.mk
|
||||||
|
|
||||||
|
|
|
@ -1,129 +1,130 @@
|
||||||
{"version": 2, "width": 48, "height": 12, "timestamp": 1663712361, "env": {"SHELL": "/usr/bin/zsh", "TERM": "xterm-256color"}}
|
{"version": 2, "width": 45, "height": 12, "timestamp": 1663509712, "env": {"SHELL": "/usr/bin/zsh", "TERM": "xterm-256color"}}
|
||||||
[0.008114, "o", "\u001b[H\u001b[2J\u001b[3J"]
|
[0.007004, "o", "\u001b[H\u001b[2J\u001b[3J"]
|
||||||
[0.00852, "o", "bash >> "]
|
[0.007499, "o", "bash >> "]
|
||||||
[0.008755, "o", "m"]
|
[0.007695, "o", "m"]
|
||||||
[0.189398, "o", "a"]
|
[0.188475, "o", "a"]
|
||||||
[0.279744, "o", "k"]
|
[0.278605, "o", "k"]
|
||||||
[0.369775, "o", "e"]
|
[0.368932, "o", "e"]
|
||||||
[0.459919, "o", " -"]
|
[0.459055, "o", " -"]
|
||||||
[0.549908, "o", "f"]
|
[0.549199, "o", "f"]
|
||||||
[0.639982, "o", " "]
|
[0.639392, "o", " "]
|
||||||
[0.730339, "o", "c"]
|
[0.729414, "o", "c"]
|
||||||
[0.820338, "o", "h"]
|
[0.81952, "o", "h"]
|
||||||
[0.910414, "o", "ec"]
|
[0.909732, "o", "ec"]
|
||||||
[1.090651, "o", "k"]
|
[1.090009, "o", "k"]
|
||||||
[1.18077, "o", "/"]
|
[1.180084, "o", "/"]
|
||||||
[1.271098, "o", "c"]
|
[1.270256, "o", "c"]
|
||||||
[1.361098, "o", "h"]
|
[1.360329, "o", "h"]
|
||||||
[1.451216, "o", "ec"]
|
[1.450517, "o", "ec"]
|
||||||
[1.541276, "o", "k"]
|
[1.540604, "o", "k"]
|
||||||
[1.631388, "o", "."]
|
[1.630898, "o", "."]
|
||||||
[1.721603, "o", "m"]
|
[1.72087, "o", "m"]
|
||||||
[1.811718, "o", "k"]
|
[1.811036, "o", "k"]
|
||||||
[1.992079, "o", " h"]
|
[1.991393, "o", " h"]
|
||||||
[2.082138, "o", "e"]
|
[2.081431, "o", "e"]
|
||||||
[2.172379, "o", "l"]
|
[2.171549, "o", "l"]
|
||||||
[2.262403, "o", "p"]
|
[2.261684, "o", "p"]
|
||||||
[2.352473, "o", "\r\n"]
|
[2.351833, "o", "\r\n"]
|
||||||
[3.381969, "o", "\u001b[1;36musage:\u001b[0m\r\n\tmake <recipe>\r\n\t\r\n\tinteractivity w/ task.mk\r\n\r\n\u001b[1;33m check\u001b[0m │ \u001b[2mget user confirmation or exit\u001b[0m\r\n\u001b[1;33m h, help\u001b[0m │ \u001b[2mshow this help\u001b[0m\r\n\r\n"]
|
[3.373753, "o", "\u001b[1;36musage:\u001b[0m\r\n\tmake <recipe>\r\n\t\r\n\tinteractivity w/ task.mk\r\n\r\n\u001b[1;33m check\u001b[0m │ \u001b[2mget user confirmation or exit\u001b[0m\r\n\u001b[1;33m h, help\u001b[0m │ \u001b[2mshow this help\u001b[0m\r\n\r\n"]
|
||||||
[5.387545, "o", "\u001b[H\u001b[2J\u001b[3J"]
|
[5.378629, "o", "\u001b[H\u001b[2J\u001b[3J"]
|
||||||
[5.387892, "o", "bash >> "]
|
[5.37884, "o", "bash >> "]
|
||||||
[5.390047, "o", "m"]
|
[5.380877, "o", "m"]
|
||||||
[5.570645, "o", "a"]
|
[5.561187, "o", "a"]
|
||||||
[5.660579, "o", "k"]
|
[5.651259, "o", "k"]
|
||||||
[5.750852, "o", "e"]
|
[5.741367, "o", "e"]
|
||||||
[5.841071, "o", " -"]
|
[5.83161, "o", " -"]
|
||||||
[5.931225, "o", "f"]
|
[5.921765, "o", "f"]
|
||||||
[6.021286, "o", " "]
|
[6.011971, "o", " "]
|
||||||
[6.111373, "o", "c"]
|
[6.102115, "o", "c"]
|
||||||
[6.201586, "o", "h"]
|
[6.192388, "o", "h"]
|
||||||
[6.291778, "o", "ec"]
|
[6.282346, "o", "ec"]
|
||||||
[6.472054, "o", "k"]
|
[6.462683, "o", "k"]
|
||||||
[6.562124, "o", "/"]
|
[6.552812, "o", "/"]
|
||||||
[6.652262, "o", "c"]
|
[6.642847, "o", "c"]
|
||||||
[6.74248, "o", "h"]
|
[6.73297, "o", "h"]
|
||||||
[6.832675, "o", "ec"]
|
[6.823099, "o", "ec"]
|
||||||
[6.922668, "o", "k"]
|
[6.913297, "o", "k"]
|
||||||
[7.012809, "o", "."]
|
[7.003515, "o", "."]
|
||||||
[7.102973, "o", "m"]
|
[7.093594, "o", "m"]
|
||||||
[7.193151, "o", "k"]
|
[7.183719, "o", "k"]
|
||||||
[7.373458, "o", " c"]
|
[7.364474, "o", " c"]
|
||||||
[7.463783, "o", "h"]
|
[7.454638, "o", "h"]
|
||||||
[7.553761, "o", "e"]
|
[7.544856, "o", "e"]
|
||||||
[7.643931, "o", "c"]
|
[7.634908, "o", "c"]
|
||||||
[7.734197, "o", "k"]
|
[7.725037, "o", "k"]
|
||||||
[7.824356, "o", "\r\n"]
|
[7.815191, "o", "\r\n"]
|
||||||
[8.857505, "o", "Would you like to proceed? \u001b[1;31m[Y/n]\u001b[0m "]
|
[8.827899, "o", "Would you like to proceed? \u001b[1;31m[Y/n]\u001b[0m "]
|
||||||
[9.54018, "o", "y"]
|
[9.751154, "o", "y"]
|
||||||
[9.595198, "o", "\r\n"]
|
[9.837618, "o", "\r\n"]
|
||||||
[9.598684, "o", "you said yes!\r\n"]
|
[9.846779, "o", "you said yes!\r\n"]
|
||||||
[11.602689, "o", "#"]
|
[11.850338, "o", "#"]
|
||||||
[11.783071, "o", " "]
|
[12.030527, "o", " "]
|
||||||
[11.873235, "o", "L"]
|
[12.12062, "o", "L"]
|
||||||
[11.963465, "o", "e"]
|
[12.210763, "o", "e"]
|
||||||
[12.053444, "o", "t'"]
|
[12.300857, "o", "t'"]
|
||||||
[12.143548, "o", "s"]
|
[12.391099, "o", "s"]
|
||||||
[12.233881, "o", " "]
|
[12.481244, "o", " "]
|
||||||
[12.323915, "o", "t"]
|
[12.57145, "o", "t"]
|
||||||
[12.41414, "o", "r"]
|
[12.66148, "o", "r"]
|
||||||
[12.50428, "o", "y "]
|
[12.751606, "o", "y "]
|
||||||
[12.684471, "o", "a"]
|
[12.932134, "o", "a"]
|
||||||
[12.774773, "o", "g"]
|
[13.022101, "o", "g"]
|
||||||
[12.864864, "o", "a"]
|
[13.112244, "o", "a"]
|
||||||
[12.954989, "o", "i"]
|
[13.202336, "o", "i"]
|
||||||
[13.045011, "o", "n "]
|
[13.292469, "o", "n "]
|
||||||
[13.135204, "o", "b"]
|
[13.38261, "o", "b"]
|
||||||
[13.225451, "o", "u"]
|
[13.472767, "o", "u"]
|
||||||
[13.315649, "o", "t"]
|
[13.562841, "o", "t"]
|
||||||
[13.405687, "o", " "]
|
[13.652944, "o", " "]
|
||||||
[13.585943, "o", "in"]
|
[13.833164, "o", "in"]
|
||||||
[13.676051, "o", "s"]
|
[13.923274, "o", "s"]
|
||||||
[13.766346, "o", "t"]
|
[14.013422, "o", "t"]
|
||||||
[13.856324, "o", "e"]
|
[14.10364, "o", "e"]
|
||||||
[13.946542, "o", "a"]
|
[14.193783, "o", "a"]
|
||||||
[14.036697, "o", "d "]
|
[14.283859, "o", "d "]
|
||||||
[14.126782, "o", "s"]
|
[14.374022, "o", "s"]
|
||||||
[14.216944, "o", "a"]
|
[14.464304, "o", "a"]
|
||||||
[14.307128, "o", "y"]
|
[14.554416, "o", "y"]
|
||||||
[14.487468, "o", " "]
|
[14.734528, "o", " "]
|
||||||
[14.577551, "o", "no"]
|
[14.824636, "o", "no"]
|
||||||
[14.667739, "o", " "]
|
[14.914924, "o", " "]
|
||||||
[14.757899, "o", "t"]
|
[15.005102, "o", "t"]
|
||||||
[14.848007, "o", "h"]
|
[15.095117, "o", "h"]
|
||||||
[14.93806, "o", "i"]
|
[15.185276, "o", "i"]
|
||||||
[15.0283, "o", "s "]
|
[15.275414, "o", "s "]
|
||||||
[15.118379, "o", "t"]
|
[15.365521, "o", "t"]
|
||||||
[15.208471, "o", "i"]
|
[15.45574, "o", "i"]
|
||||||
[15.388757, "o", "m"]
|
[15.635918, "o", "m"]
|
||||||
[15.47897, "o", "e"]
|
[15.726033, "o", "e"]
|
||||||
[15.569031, "o", "\r\n"]
|
[15.816169, "o", "\r\n"]
|
||||||
[16.571969, "o", "\u001b[H\u001b[2J\u001b[3J"]
|
[16.817697, "o", "\u001b[H\u001b[2J\u001b[3J"]
|
||||||
[16.572047, "o", "bash >> "]
|
[16.817793, "o", "bash >> "]
|
||||||
[16.574017, "o", "m"]
|
[16.818364, "o", "m"]
|
||||||
[16.754499, "o", "a"]
|
[16.999104, "o", "a"]
|
||||||
[16.844612, "o", "k"]
|
[17.089183, "o", "k"]
|
||||||
[16.93468, "o", "e"]
|
[17.179376, "o", "e"]
|
||||||
[17.024972, "o", " -"]
|
[17.269421, "o", " -"]
|
||||||
[17.115137, "o", "f"]
|
[17.359516, "o", "f"]
|
||||||
[17.205244, "o", " "]
|
[17.449715, "o", " "]
|
||||||
[17.295415, "o", "c"]
|
[17.539785, "o", "c"]
|
||||||
[17.385554, "o", "h"]
|
[17.629954, "o", "h"]
|
||||||
[17.475882, "o", "ec"]
|
[17.720065, "o", "ec"]
|
||||||
[17.655989, "o", "k"]
|
[17.900294, "o", "k"]
|
||||||
[17.746279, "o", "/"]
|
[17.990472, "o", "/"]
|
||||||
[17.83643, "o", "c"]
|
[18.080485, "o", "c"]
|
||||||
[17.926644, "o", "h"]
|
[18.170674, "o", "h"]
|
||||||
[18.016673, "o", "ec"]
|
[18.260717, "o", "ec"]
|
||||||
[18.106718, "o", "k"]
|
[18.350924, "o", "k"]
|
||||||
[18.197045, "o", "."]
|
[18.441115, "o", "."]
|
||||||
[18.287031, "o", "m"]
|
[18.531291, "o", "m"]
|
||||||
[18.377151, "o", "k"]
|
[18.621449, "o", "k"]
|
||||||
[18.55735, "o", " c"]
|
[18.801717, "o", " c"]
|
||||||
[18.647478, "o", "h"]
|
[18.891834, "o", "h"]
|
||||||
[18.737616, "o", "e"]
|
[18.982112, "o", "e"]
|
||||||
[18.827879, "o", "c"]
|
[19.07216, "o", "c"]
|
||||||
[18.917992, "o", "k"]
|
[19.162471, "o", "k"]
|
||||||
[19.008133, "o", "\r\n"]
|
[19.252562, "o", "\r\n"]
|
||||||
[20.034923, "o", "Would you like to proceed? \u001b[1;31m[Y/n]\u001b[0m "]
|
[20.265973, "o", "Would you like to proceed? \u001b[1;31m[Y/n]\u001b[0m "]
|
||||||
[22.08808, "o", "n"]
|
[21.947847, "o", "n"]
|
||||||
[22.227223, "o", "\r\n"]
|
[22.001462, "o", "\r\n"]
|
||||||
|
[22.00656, "o", "make[1]: *** [check/check.mk:8: check] Error 1\r\n"]
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<link rel="canonical" href="https://gh.dayl.in/task.mk/examples/check/">
|
<link rel="canonical" href="https://gh.dayl.in/task.mk/examples/check/">
|
||||||
|
|
||||||
<link rel="icon" href="../../assets/images/favicon.png">
|
<link rel="icon" href="../../assets/images/favicon.png">
|
||||||
<meta name="generator" content="mkdocs-1.3.1, mkdocs-material-8.5.3">
|
<meta name="generator" content="mkdocs-1.3.1, mkdocs-material-8.5.2">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../assets/stylesheets/main.7a952b86.min.css">
|
<link rel="stylesheet" href="../../assets/stylesheets/main.9f9400aa.min.css">
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../assets/stylesheets/palette.cbb835fc.min.css">
|
<link rel="stylesheet" href="../../assets/stylesheets/palette.cbb835fc.min.css">
|
||||||
|
@ -442,7 +442,7 @@
|
||||||
<a id="__codelineno-0-11" name="__codelineno-0-11" href="#__codelineno-0-11"></a> interactivity w/ task.mk<span class="se">\n</span>
|
<a id="__codelineno-0-11" name="__codelineno-0-11" href="#__codelineno-0-11"></a> interactivity w/ task.mk<span class="se">\n</span>
|
||||||
<a id="__codelineno-0-12" name="__codelineno-0-12" href="#__codelineno-0-12"></a><span class="cp">endef</span>
|
<a id="__codelineno-0-12" name="__codelineno-0-12" href="#__codelineno-0-12"></a><span class="cp">endef</span>
|
||||||
<a id="__codelineno-0-13" name="__codelineno-0-13" href="#__codelineno-0-13"></a>
|
<a id="__codelineno-0-13" name="__codelineno-0-13" href="#__codelineno-0-13"></a>
|
||||||
<a id="__codelineno-0-14" name="__codelineno-0-14" href="#__codelineno-0-14"></a><span class="nv">.DEFAULT_GOAL</span> <span class="o">=</span> <span class="nb">help</span>
|
<a id="__codelineno-0-14" name="__codelineno-0-14" href="#__codelineno-0-14"></a><span class="nv">.DEFUALT_GOAL</span> <span class="o">=</span> <span class="nb">help</span>
|
||||||
<a id="__codelineno-0-15" name="__codelineno-0-15" href="#__codelineno-0-15"></a><span class="cp">include $(shell git rev-parse --show-toplevel)/task.mk</span>
|
<a id="__codelineno-0-15" name="__codelineno-0-15" href="#__codelineno-0-15"></a><span class="cp">include $(shell git rev-parse --show-toplevel)/task.mk</span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
|
|
||||||
|
@ -533,12 +533,12 @@
|
||||||
<div class="md-dialog__inner md-typeset"></div>
|
<div class="md-dialog__inner md-typeset"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script id="__config" type="application/json">{"base": "../..", "features": ["navigation.indexes"], "search": "../../assets/javascripts/workers/search.5bf1dace.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version.title": "Select version"}}</script>
|
<script id="__config" type="application/json">{"base": "../..", "features": ["navigation.indexes"], "search": "../../assets/javascripts/workers/search.ecf98df9.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version.title": "Select version"}}</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="../../assets/javascripts/bundle.37e9125f.min.js"></script>
|
<script src="../../assets/javascripts/bundle.39f04ddb.min.js"></script>
|
||||||
|
|
||||||
<script src="../../javascripts/asciinema-player.min.js"></script>
|
<script src="../../javascripts/asciinema-player.min.js"></script>
|
||||||
|
|
||||||
|
|
|
@ -7,4 +7,4 @@ cmd 'make -f check/check.mk check'
|
||||||
msg "# Let's try again but instead say no this time"
|
msg "# Let's try again but instead say no this time"
|
||||||
cmd 'make -f check/check.mk check'
|
cmd 'make -f check/check.mk check'
|
||||||
|
|
||||||
sleep 1
|
|
||||||
|
|
|
@ -1,126 +1,125 @@
|
||||||
{"version": 2, "width": 60, "height": 20, "timestamp": 1663712193, "env": {"SHELL": "/usr/bin/zsh", "TERM": "xterm-256color"}}
|
{"version": 2, "width": 60, "height": 20, "timestamp": 1663509736, "env": {"SHELL": "/usr/bin/zsh", "TERM": "xterm-256color"}}
|
||||||
[0.008386, "o", "\u001b[H\u001b[2J\u001b[3J"]
|
[0.006995, "o", "\u001b[H\u001b[2J\u001b[3J"]
|
||||||
[0.008986, "o", "bash >> "]
|
[0.007356, "o", "bash >> "]
|
||||||
[0.009151, "o", "m"]
|
[0.007626, "o", "m"]
|
||||||
[0.189701, "o", "a"]
|
[0.188158, "o", "a"]
|
||||||
[0.280162, "o", "k"]
|
[0.27839, "o", "k"]
|
||||||
[0.37038, "o", "e"]
|
[0.368576, "o", "e"]
|
||||||
[0.460683, "o", " -"]
|
[0.458807, "o", " -"]
|
||||||
[0.551001, "o", "f"]
|
[0.548811, "o", "f"]
|
||||||
[0.641267, "o", " "]
|
[0.63903, "o", " "]
|
||||||
[0.731609, "o", "e"]
|
[0.729091, "o", "e"]
|
||||||
[0.821777, "o", "m"]
|
[0.819196, "o", "m"]
|
||||||
[0.912103, "o", "be"]
|
[0.909274, "o", "be"]
|
||||||
[1.092658, "o", "d"]
|
[1.089691, "o", "d"]
|
||||||
[1.182705, "o", "d"]
|
[1.179663, "o", "d"]
|
||||||
[1.273152, "o", "e"]
|
[1.269774, "o", "e"]
|
||||||
[1.363457, "o", "d"]
|
[1.359973, "o", "d"]
|
||||||
[1.453758, "o", "/e"]
|
[1.450027, "o", "/e"]
|
||||||
[1.544059, "o", "m"]
|
[1.540296, "o", "m"]
|
||||||
[1.634282, "o", "b"]
|
[1.630272, "o", "b"]
|
||||||
[1.724452, "o", "e"]
|
[1.720364, "o", "e"]
|
||||||
[1.814601, "o", "d"]
|
[1.8106, "o", "d"]
|
||||||
[1.995155, "o", "de"]
|
[1.990776, "o", "de"]
|
||||||
[2.085437, "o", "d"]
|
[2.080964, "o", "d"]
|
||||||
[2.175546, "o", "."]
|
[2.17101, "o", "."]
|
||||||
[2.265856, "o", "m"]
|
[2.261109, "o", "m"]
|
||||||
[2.356192, "o", "k"]
|
[2.351249, "o", "k"]
|
||||||
[2.446468, "o", " h"]
|
[2.441359, "o", " h"]
|
||||||
[2.536781, "o", "e"]
|
[2.531512, "o", "e"]
|
||||||
[2.627101, "o", "l"]
|
[2.621795, "o", "l"]
|
||||||
[2.717423, "o", "p"]
|
[2.711889, "o", "p"]
|
||||||
[2.897934, "o", "\r\n"]
|
[2.892394, "o", "\r\n"]
|
||||||
[3.931131, "o", "\u001b[1;36musage:\u001b[0m\r\n\tmake <recipe>\r\n\t\r\n\texamples of embedded scripts in `\u001b[35mMakefile\u001b[0m`\r\n\r\n \u001b[1;31m examples of task.mk features \u001b[0m\r\n\u001b[38m ─────────────────────────────────────────────────────\u001b[0m\r\n\u001b[1;33m list-%\u001b[0m │ \u001b[2muse pathlib.Path to list files\u001b[0m\r\n \u001b[2mname the directory in rule (make list-src)\u001b[0m\r\n\u001b[1;33m embedded-bash\u001b[0m │ \u001b[2mbash script with pipes and make input\u001b[0m\r\n\u001b[1;33m h, help\u001b[0m │ \u001b[2mshow this help\u001b[0m\r\n\r\n"]
|
[3.915806, "o", "\u001b[1;36musage:\u001b[0m\r\n\tmake <recipe>\r\n\t\r\n\texamples of embedded scripts in `\u001b[35mMakefile\u001b[0m`\r\n\r\n \u001b[1;31m examples of task.mk features \u001b[0m\r\n\u001b[38m ─────────────────────────────────────────────────────\u001b[0m\r\n\u001b[1;33m list-%\u001b[0m │ \u001b[2muse pathlib.Path to list files\u001b[0m\r\n \u001b[2mname the directory in rule (make list-src)\u001b[0m\r\n\u001b[1;33m embedded-bash\u001b[0m │ \u001b[2mbash script with pipes and make input\u001b[0m\r\n\u001b[1;33m h, help\u001b[0m │ \u001b[2mshow this help\u001b[0m\r\n\r\n"]
|
||||||
[5.936874, "o", "\u001b[H\u001b[2J\u001b[3J"]
|
[5.921614, "o", "\u001b[H\u001b[2J\u001b[3J"]
|
||||||
[5.937167, "o", "bash >> "]
|
[5.921918, "o", "bash >> "]
|
||||||
[5.939502, "o", "m"]
|
[5.923943, "o", "m"]
|
||||||
[6.120169, "o", "a"]
|
[6.104382, "o", "a"]
|
||||||
[6.210505, "o", "k"]
|
[6.194681, "o", "k"]
|
||||||
[6.300671, "o", "e"]
|
[6.284819, "o", "e"]
|
||||||
[6.390788, "o", " -"]
|
[6.375089, "o", " -"]
|
||||||
[6.480981, "o", "f"]
|
[6.465174, "o", "f"]
|
||||||
[6.571285, "o", " "]
|
[6.555322, "o", " "]
|
||||||
[6.661457, "o", "e"]
|
[6.64533, "o", "e"]
|
||||||
[6.751758, "o", "m"]
|
[6.735435, "o", "m"]
|
||||||
[6.842048, "o", "be"]
|
[6.825552, "o", "be"]
|
||||||
[7.022576, "o", "d"]
|
[7.005939, "o", "d"]
|
||||||
[7.112852, "o", "d"]
|
[7.096066, "o", "d"]
|
||||||
[7.203064, "o", "e"]
|
[7.186097, "o", "e"]
|
||||||
[7.293421, "o", "d"]
|
[7.276232, "o", "d"]
|
||||||
[7.383397, "o", "/e"]
|
[7.366364, "o", "/e"]
|
||||||
[7.473873, "o", "m"]
|
[7.456527, "o", "m"]
|
||||||
[7.564152, "o", "b"]
|
[7.546662, "o", "b"]
|
||||||
[7.65431, "o", "e"]
|
[7.636777, "o", "e"]
|
||||||
[7.744607, "o", "d"]
|
[7.726911, "o", "d"]
|
||||||
[7.925168, "o", "de"]
|
[7.907171, "o", "de"]
|
||||||
[8.015472, "o", "d"]
|
[7.99733, "o", "d"]
|
||||||
[8.105767, "o", "."]
|
[8.087458, "o", "."]
|
||||||
[8.195936, "o", "m"]
|
[8.177539, "o", "m"]
|
||||||
[8.286184, "o", "k"]
|
[8.26767, "o", "k"]
|
||||||
[8.376537, "o", " l"]
|
[8.357795, "o", " l"]
|
||||||
[8.466624, "o", "i"]
|
[8.447911, "o", "i"]
|
||||||
[8.557058, "o", "s"]
|
[8.538022, "o", "s"]
|
||||||
[8.64739, "o", "t"]
|
[8.628232, "o", "t"]
|
||||||
[8.827942, "o", "-"]
|
[8.80841, "o", "-"]
|
||||||
[8.91803, "o", "em"]
|
[8.898543, "o", "em"]
|
||||||
[9.008446, "o", "b"]
|
[8.988721, "o", "b"]
|
||||||
[9.098742, "o", "e"]
|
[9.078836, "o", "e"]
|
||||||
[9.189059, "o", "d"]
|
[9.169069, "o", "d"]
|
||||||
[9.279328, "o", "d"]
|
[9.259138, "o", "d"]
|
||||||
[9.36965, "o", "ed"]
|
[9.349222, "o", "ed"]
|
||||||
[9.459574, "o", "\r\n"]
|
[9.439533, "o", "\r\n"]
|
||||||
[10.492826, "o", "files in embedded\r\n"]
|
[10.45661, "o", "files in embedded\r\n['embedded.mk', 'demo.cast', 'record.sh', 'index.md']\r\n"]
|
||||||
[10.492943, "o", "['embedded.mk', 'demo.cast', 'record.sh', 'index.md']\r\n"]
|
[12.462317, "o", "\u001b[H\u001b[2J\u001b[3J"]
|
||||||
[12.498865, "o", "\u001b[H\u001b[2J\u001b[3J"]
|
[12.462399, "o", "bash >> "]
|
||||||
[12.498984, "o", "bash >> "]
|
[12.464413, "o", "m"]
|
||||||
[12.501382, "o", "m"]
|
[12.644851, "o", "a"]
|
||||||
[12.681906, "o", "a"]
|
[12.73513, "o", "k"]
|
||||||
[12.7722, "o", "k"]
|
[12.825178, "o", "e"]
|
||||||
[12.862501, "o", "e"]
|
[12.91541, "o", " -"]
|
||||||
[12.952783, "o", " -"]
|
[13.005446, "o", "f"]
|
||||||
[13.043086, "o", "f"]
|
[13.095515, "o", " "]
|
||||||
[13.13339, "o", " "]
|
[13.185598, "o", "e"]
|
||||||
[13.223546, "o", "e"]
|
[13.275797, "o", "m"]
|
||||||
[13.313887, "o", "m"]
|
[13.365927, "o", "be"]
|
||||||
[13.40413, "o", "be"]
|
[13.54612, "o", "d"]
|
||||||
[13.584464, "o", "d"]
|
[13.636273, "o", "d"]
|
||||||
[13.674721, "o", "d"]
|
[13.726372, "o", "e"]
|
||||||
[13.764931, "o", "e"]
|
[13.81653, "o", "d"]
|
||||||
[13.855143, "o", "d"]
|
[13.906755, "o", "/e"]
|
||||||
[13.945476, "o", "/e"]
|
[13.996972, "o", "m"]
|
||||||
[14.035801, "o", "m"]
|
[14.08711, "o", "b"]
|
||||||
[14.126086, "o", "b"]
|
[14.177238, "o", "e"]
|
||||||
[14.216402, "o", "e"]
|
[14.267423, "o", "d"]
|
||||||
[14.306688, "o", "d"]
|
[14.447699, "o", "de"]
|
||||||
[14.487263, "o", "de"]
|
[14.537782, "o", "d"]
|
||||||
[14.577566, "o", "d"]
|
[14.627908, "o", "."]
|
||||||
[14.667572, "o", "."]
|
[14.718053, "o", "m"]
|
||||||
[14.757974, "o", "m"]
|
[14.808215, "o", "k"]
|
||||||
[14.848201, "o", "k"]
|
[14.898357, "o", " e"]
|
||||||
[14.938383, "o", " e"]
|
[14.988612, "o", "m"]
|
||||||
[15.02867, "o", "m"]
|
[15.078745, "o", "b"]
|
||||||
[15.118961, "o", "b"]
|
[15.168911, "o", "e"]
|
||||||
[15.2091, "o", "e"]
|
[15.349036, "o", "d"]
|
||||||
[15.38968, "o", "d"]
|
[15.439167, "o", "de"]
|
||||||
[15.479924, "o", "de"]
|
[15.529412, "o", "d"]
|
||||||
[15.570276, "o", "d"]
|
[15.619518, "o", "-"]
|
||||||
[15.66027, "o", "-"]
|
[15.709569, "o", "b"]
|
||||||
[15.750729, "o", "b"]
|
[15.79969, "o", "a"]
|
||||||
[15.84091, "o", "a"]
|
[15.889938, "o", "sh"]
|
||||||
[15.931277, "o", "sh"]
|
[15.980073, "o", "\r\n"]
|
||||||
[16.021429, "o", "\r\n"]
|
[16.989864, "o", "Is the process running bash? We can check with ps\r\n"]
|
||||||
[17.044626, "o", "Is the process running bash? We can check with ps\r\n"]
|
[16.999039, "o", "bash\r\n"]
|
||||||
[17.063304, "o", "bash\r\n"]
|
[16.999517, "o", "What text to figlet? \r\n"]
|
||||||
[17.063756, "o", "What text to figlet? \r\n"]
|
[19.167405, "o", "t"]
|
||||||
[20.107984, "o", "t"]
|
[19.201071, "o", "a"]
|
||||||
[20.125262, "o", "a"]
|
[19.292173, "o", "s"]
|
||||||
[20.276406, "o", "s"]
|
[19.436959, "o", "k"]
|
||||||
[20.454083, "o", "k"]
|
[19.588588, "o", "."]
|
||||||
[20.705234, "o", "."]
|
[19.767086, "o", "m"]
|
||||||
[20.931947, "o", "m"]
|
[19.903321, "o", "k"]
|
||||||
[21.010096, "o", "k"]
|
[20.073296, "o", "\r\n"]
|
||||||
[21.288327, "o", "\r\n"]
|
[20.074356, "o", " _ _ _ \r\n| |_ __ _ ___| | __ _ __ ___ | | __\r\n| __/ _` / __| |/ / | '_ ` _ \\| |/ /\r\n| || (_| \\__ \\ < _| | | | | | < \r\n \\__\\__,_|___/_|\\_(_)_| |_| |_|_|\\_\\\r\n \r\n"]
|
||||||
[21.292384, "o", " _ _ _ \r\n| |_ __ _ ___| | __ _ __ ___ | | __\r\n| __/ _` / __| |/ / | '_ ` _ \\| |/ /\r\n| || (_| \\__ \\ < _| | | | | | < \r\n \\__\\__,_|___/_|\\_(_)_| |_| |_|_|\\_\\\r\n \r\n"]
|
[20.074497, "o", "the argument below as given in the makefile itself\r\n"]
|
||||||
[21.292754, "o", "the argument below as given in the makefile itself\r\n"]
|
[20.074527, "o", "it's expanded before the script is passed to bash\r\n"]
|
||||||
[21.292898, "o", "it's expanded before the script is passed to bash\r\n"]
|
[20.074555, "o", "bash multiline is probably working\r\n"]
|
||||||
[21.292925, "o", "bash multiline is probably working\r\n"]
|
|
||||||
|
|
|
@ -38,6 +38,6 @@ define USAGE
|
||||||
examples of embedded scripts in `{a.magenta}Makefile{a.end}`
|
examples of embedded scripts in `{a.magenta}Makefile{a.end}`
|
||||||
|
|
||||||
endef
|
endef
|
||||||
.DEFAULT_GOAL = help
|
.DEFUALT_GOAL = help
|
||||||
include $(shell git rev-parse --show-toplevel)/task.mk
|
include $(shell git rev-parse --show-toplevel)/task.mk
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<link rel="canonical" href="https://gh.dayl.in/task.mk/examples/embedded/">
|
<link rel="canonical" href="https://gh.dayl.in/task.mk/examples/embedded/">
|
||||||
|
|
||||||
<link rel="icon" href="../../assets/images/favicon.png">
|
<link rel="icon" href="../../assets/images/favicon.png">
|
||||||
<meta name="generator" content="mkdocs-1.3.1, mkdocs-material-8.5.3">
|
<meta name="generator" content="mkdocs-1.3.1, mkdocs-material-8.5.2">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../assets/stylesheets/main.7a952b86.min.css">
|
<link rel="stylesheet" href="../../assets/stylesheets/main.9f9400aa.min.css">
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../assets/stylesheets/palette.cbb835fc.min.css">
|
<link rel="stylesheet" href="../../assets/stylesheets/palette.cbb835fc.min.css">
|
||||||
|
@ -469,7 +469,7 @@
|
||||||
<a id="__codelineno-0-38" name="__codelineno-0-38" href="#__codelineno-0-38"></a> examples of embedded scripts <span class="k">in</span> <span class="sb">`</span><span class="o">{</span>a.magenta<span class="o">}</span>Makefile<span class="o">{</span>a.end<span class="o">}</span><span class="sb">`</span>
|
<a id="__codelineno-0-38" name="__codelineno-0-38" href="#__codelineno-0-38"></a> examples of embedded scripts <span class="k">in</span> <span class="sb">`</span><span class="o">{</span>a.magenta<span class="o">}</span>Makefile<span class="o">{</span>a.end<span class="o">}</span><span class="sb">`</span>
|
||||||
<a id="__codelineno-0-39" name="__codelineno-0-39" href="#__codelineno-0-39"></a>
|
<a id="__codelineno-0-39" name="__codelineno-0-39" href="#__codelineno-0-39"></a>
|
||||||
<a id="__codelineno-0-40" name="__codelineno-0-40" href="#__codelineno-0-40"></a><span class="cp">endef</span>
|
<a id="__codelineno-0-40" name="__codelineno-0-40" href="#__codelineno-0-40"></a><span class="cp">endef</span>
|
||||||
<a id="__codelineno-0-41" name="__codelineno-0-41" href="#__codelineno-0-41"></a><span class="nv">.DEFAULT_GOAL</span> <span class="o">=</span> <span class="nb">help</span>
|
<a id="__codelineno-0-41" name="__codelineno-0-41" href="#__codelineno-0-41"></a><span class="nv">.DEFUALT_GOAL</span> <span class="o">=</span> <span class="nb">help</span>
|
||||||
<a id="__codelineno-0-42" name="__codelineno-0-42" href="#__codelineno-0-42"></a><span class="cp">include $(shell git rev-parse --show-toplevel)/task.mk</span>
|
<a id="__codelineno-0-42" name="__codelineno-0-42" href="#__codelineno-0-42"></a><span class="cp">include $(shell git rev-parse --show-toplevel)/task.mk</span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
|
|
||||||
|
@ -545,12 +545,12 @@
|
||||||
<div class="md-dialog__inner md-typeset"></div>
|
<div class="md-dialog__inner md-typeset"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script id="__config" type="application/json">{"base": "../..", "features": ["navigation.indexes"], "search": "../../assets/javascripts/workers/search.5bf1dace.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version.title": "Select version"}}</script>
|
<script id="__config" type="application/json">{"base": "../..", "features": ["navigation.indexes"], "search": "../../assets/javascripts/workers/search.ecf98df9.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version.title": "Select version"}}</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="../../assets/javascripts/bundle.37e9125f.min.js"></script>
|
<script src="../../assets/javascripts/bundle.39f04ddb.min.js"></script>
|
||||||
|
|
||||||
<script src="../../javascripts/asciinema-player.min.js"></script>
|
<script src="../../javascripts/asciinema-player.min.js"></script>
|
||||||
|
|
||||||
|
|
|
@ -5,4 +5,3 @@ source "$(dirname "${BASH_SOURCE[0]}")/../functions.sh"
|
||||||
cmd 'make -f embedded/embedded.mk help'
|
cmd 'make -f embedded/embedded.mk help'
|
||||||
cmd 'make -f embedded/embedded.mk list-embedded'
|
cmd 'make -f embedded/embedded.mk list-embedded'
|
||||||
cmd 'make -f embedded/embedded.mk embedded-bash'
|
cmd 'make -f embedded/embedded.mk embedded-bash'
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<link rel="canonical" href="https://gh.dayl.in/task.mk/examples/">
|
<link rel="canonical" href="https://gh.dayl.in/task.mk/examples/">
|
||||||
|
|
||||||
<link rel="icon" href="../assets/images/favicon.png">
|
<link rel="icon" href="../assets/images/favicon.png">
|
||||||
<meta name="generator" content="mkdocs-1.3.1, mkdocs-material-8.5.3">
|
<meta name="generator" content="mkdocs-1.3.1, mkdocs-material-8.5.2">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../assets/stylesheets/main.7a952b86.min.css">
|
<link rel="stylesheet" href="../assets/stylesheets/main.9f9400aa.min.css">
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../assets/stylesheets/palette.cbb835fc.min.css">
|
<link rel="stylesheet" href="../assets/stylesheets/palette.cbb835fc.min.css">
|
||||||
|
@ -523,12 +523,12 @@
|
||||||
<div class="md-dialog__inner md-typeset"></div>
|
<div class="md-dialog__inner md-typeset"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script id="__config" type="application/json">{"base": "..", "features": ["navigation.indexes"], "search": "../assets/javascripts/workers/search.5bf1dace.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version.title": "Select version"}}</script>
|
<script id="__config" type="application/json">{"base": "..", "features": ["navigation.indexes"], "search": "../assets/javascripts/workers/search.ecf98df9.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version.title": "Select version"}}</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="../assets/javascripts/bundle.37e9125f.min.js"></script>
|
<script src="../assets/javascripts/bundle.39f04ddb.min.js"></script>
|
||||||
|
|
||||||
<script src="../javascripts/asciinema-player.min.js"></script>
|
<script src="../javascripts/asciinema-player.min.js"></script>
|
||||||
|
|
||||||
|
|
12
index.html
12
index.html
|
@ -11,7 +11,7 @@
|
||||||
<link rel="canonical" href="https://gh.dayl.in/task.mk/">
|
<link rel="canonical" href="https://gh.dayl.in/task.mk/">
|
||||||
|
|
||||||
<link rel="icon" href="assets/images/favicon.png">
|
<link rel="icon" href="assets/images/favicon.png">
|
||||||
<meta name="generator" content="mkdocs-1.3.1, mkdocs-material-8.5.3">
|
<meta name="generator" content="mkdocs-1.3.1, mkdocs-material-8.5.2">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="assets/stylesheets/main.7a952b86.min.css">
|
<link rel="stylesheet" href="assets/stylesheets/main.9f9400aa.min.css">
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="assets/stylesheets/palette.cbb835fc.min.css">
|
<link rel="stylesheet" href="assets/stylesheets/palette.cbb835fc.min.css">
|
||||||
|
@ -533,7 +533,7 @@ to add some QOL improvements for your users and fellow maintainers.</p>
|
||||||
<li>custom print function</li>
|
<li>custom print function</li>
|
||||||
<li>confirmation prompt</li>
|
<li>confirmation prompt</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Depends on <code>GNU Make</code>, obviously and <code>Python >=3.7</code>, and <code>bash</code> (or <code>zsh</code>).</p>
|
<p>Depends on <code>GNU Make</code>, obviously and <code>Python >=3.7</code>.</p>
|
||||||
<p>Wait python?!?!, I'm not <code>pip</code> installing some package just to parse my makefile.
|
<p>Wait python?!?!, I'm not <code>pip</code> installing some package just to parse my makefile.
|
||||||
I agree, all you need is one file <a href="https://github.com/daylinmorgan/task.mk/v22.9.19/task.mk"><code>.task.mk</code></a>.
|
I agree, all you need is one file <a href="https://github.com/daylinmorgan/task.mk/v22.9.19/task.mk"><code>.task.mk</code></a>.
|
||||||
You can automagically include it with just two additional lines to your <code>Makefile</code> (and probably one to your <code>.gitignore</code>) and your good to go.</p>
|
You can automagically include it with just two additional lines to your <code>Makefile</code> (and probably one to your <code>.gitignore</code>) and your good to go.</p>
|
||||||
|
@ -582,7 +582,7 @@ But like <code>just</code> it's a tool people don't usually already have and it'
|
||||||
<small>
|
<small>
|
||||||
|
|
||||||
Last update:
|
Last update:
|
||||||
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">September 21, 2022</span>
|
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">September 19, 2022</span>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
Created:
|
Created:
|
||||||
|
@ -649,12 +649,12 @@ But like <code>just</code> it's a tool people don't usually already have and it'
|
||||||
<div class="md-dialog__inner md-typeset"></div>
|
<div class="md-dialog__inner md-typeset"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script id="__config" type="application/json">{"base": ".", "features": ["navigation.indexes"], "search": "assets/javascripts/workers/search.5bf1dace.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version.title": "Select version"}}</script>
|
<script id="__config" type="application/json">{"base": ".", "features": ["navigation.indexes"], "search": "assets/javascripts/workers/search.ecf98df9.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version.title": "Select version"}}</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="assets/javascripts/bundle.37e9125f.min.js"></script>
|
<script src="assets/javascripts/bundle.39f04ddb.min.js"></script>
|
||||||
|
|
||||||
<script src="javascripts/asciinema-player.min.js"></script>
|
<script src="javascripts/asciinema-player.min.js"></script>
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
10
sitemap.xml
10
sitemap.xml
|
@ -2,27 +2,27 @@
|
||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
<url>
|
<url>
|
||||||
<loc>https://gh.dayl.in/task.mk/</loc>
|
<loc>https://gh.dayl.in/task.mk/</loc>
|
||||||
<lastmod>2022-09-21</lastmod>
|
<lastmod>2022-09-19</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://gh.dayl.in/task.mk/usage/</loc>
|
<loc>https://gh.dayl.in/task.mk/usage/</loc>
|
||||||
<lastmod>2022-09-21</lastmod>
|
<lastmod>2022-09-19</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://gh.dayl.in/task.mk/examples/</loc>
|
<loc>https://gh.dayl.in/task.mk/examples/</loc>
|
||||||
<lastmod>2022-09-21</lastmod>
|
<lastmod>2022-09-19</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://gh.dayl.in/task.mk/examples/check/</loc>
|
<loc>https://gh.dayl.in/task.mk/examples/check/</loc>
|
||||||
<lastmod>2022-09-21</lastmod>
|
<lastmod>2022-09-19</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://gh.dayl.in/task.mk/examples/embedded/</loc>
|
<loc>https://gh.dayl.in/task.mk/examples/embedded/</loc>
|
||||||
<lastmod>2022-09-21</lastmod>
|
<lastmod>2022-09-19</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
</urlset>
|
</urlset>
|
BIN
sitemap.xml.gz
BIN
sitemap.xml.gz
Binary file not shown.
|
@ -11,7 +11,7 @@
|
||||||
<link rel="canonical" href="https://gh.dayl.in/task.mk/usage/">
|
<link rel="canonical" href="https://gh.dayl.in/task.mk/usage/">
|
||||||
|
|
||||||
<link rel="icon" href="../assets/images/favicon.png">
|
<link rel="icon" href="../assets/images/favicon.png">
|
||||||
<meta name="generator" content="mkdocs-1.3.1, mkdocs-material-8.5.3">
|
<meta name="generator" content="mkdocs-1.3.1, mkdocs-material-8.5.2">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../assets/stylesheets/main.7a952b86.min.css">
|
<link rel="stylesheet" href="../assets/stylesheets/main.9f9400aa.min.css">
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../assets/stylesheets/palette.cbb835fc.min.css">
|
<link rel="stylesheet" href="../assets/stylesheets/palette.cbb835fc.min.css">
|
||||||
|
@ -531,19 +531,23 @@ Or a tuple/list to define an RBG 24-bit color, for instance <code>a.custom(fg=(5
|
||||||
See this project's <code>make info</code> for an example.</p>
|
See this project's <code>make info</code> for an example.</p>
|
||||||
<h2 id="configuration">Configuration</h2>
|
<h2 id="configuration">Configuration</h2>
|
||||||
<p>You can quickly customize some of the default behavior of <code>task.mk</code> by overriding the below variables prior to the <code>-include .task.mk</code>.</p>
|
<p>You can quickly customize some of the default behavior of <code>task.mk</code> by overriding the below variables prior to the <code>-include .task.mk</code>.</p>
|
||||||
<div class="highlight"><pre><span></span><code><a id="__codelineno-2-1" name="__codelineno-2-1" href="#__codelineno-2-1"></a><span class="c"># ---- [config] ---- #</span>
|
<div class="highlight"><pre><span></span><code><a id="__codelineno-2-1" name="__codelineno-2-1" href="#__codelineno-2-1"></a><span class="c"># ---- CONFIG ---- #</span>
|
||||||
<a id="__codelineno-2-2" name="__codelineno-2-2" href="#__codelineno-2-2"></a><span class="nv">HEADER_STYLE</span> <span class="o">?=</span> b_cyan
|
<a id="__codelineno-2-2" name="__codelineno-2-2" href="#__codelineno-2-2"></a><span class="nv">HEADER_STYLE</span> <span class="o">?=</span> b_cyan
|
||||||
<a id="__codelineno-2-3" name="__codelineno-2-3" href="#__codelineno-2-3"></a><span class="nv">ACCENT_STYLE</span> <span class="o">?=</span> b_yellow
|
<a id="__codelineno-2-3" name="__codelineno-2-3" href="#__codelineno-2-3"></a><span class="nv">PARAMS_STYLE</span> <span class="o">?=</span> b_magenta
|
||||||
<a id="__codelineno-2-4" name="__codelineno-2-4" href="#__codelineno-2-4"></a><span class="nv">PARAMS_STYLE</span> <span class="o">?=</span> <span class="k">$(</span>ACCENT_STYLE<span class="k">)</span>
|
<a id="__codelineno-2-4" name="__codelineno-2-4" href="#__codelineno-2-4"></a><span class="nv">ACCENT_STYLE</span> <span class="o">?=</span> b_yellow
|
||||||
<a id="__codelineno-2-5" name="__codelineno-2-5" href="#__codelineno-2-5"></a><span class="nv">GOAL_STYLE</span> <span class="o">?=</span> <span class="k">$(</span>ACCENT_STYLE<span class="k">)</span>
|
<a id="__codelineno-2-5" name="__codelineno-2-5" href="#__codelineno-2-5"></a><span class="nv">GOAL_STYLE</span> <span class="o">?=</span> <span class="k">$(</span>ACCENT_STYLE<span class="k">)</span>
|
||||||
<a id="__codelineno-2-6" name="__codelineno-2-6" href="#__codelineno-2-6"></a><span class="nv">MSG_STYLE</span> <span class="o">?=</span> faint
|
<a id="__codelineno-2-6" name="__codelineno-2-6" href="#__codelineno-2-6"></a><span class="nv">MSG_STYLE</span> <span class="o">?=</span> faint
|
||||||
<a id="__codelineno-2-7" name="__codelineno-2-7" href="#__codelineno-2-7"></a><span class="nv">DIVIDER_STYLE</span> <span class="o">?=</span> default
|
<a id="__codelineno-2-7" name="__codelineno-2-7" href="#__codelineno-2-7"></a><span class="nv">DIVIDER_STYLE</span> <span class="o">?=</span> default
|
||||||
<a id="__codelineno-2-8" name="__codelineno-2-8" href="#__codelineno-2-8"></a><span class="nv">DIVIDER</span> <span class="o">?=</span> ─
|
<a id="__codelineno-2-8" name="__codelineno-2-8" href="#__codelineno-2-8"></a><span class="nv">DIVIDER</span> <span class="o">?=</span> ─
|
||||||
<a id="__codelineno-2-9" name="__codelineno-2-9" href="#__codelineno-2-9"></a><span class="nv">HELP_SEP</span> <span class="o">?=</span> │
|
<a id="__codelineno-2-9" name="__codelineno-2-9" href="#__codelineno-2-9"></a><span class="nv">HELP_SEP</span> <span class="o">?=</span> │
|
||||||
<a id="__codelineno-2-10" name="__codelineno-2-10" href="#__codelineno-2-10"></a><span class="c"># python f-string literals</span>
|
<a id="__codelineno-2-10" name="__codelineno-2-10" href="#__codelineno-2-10"></a>
|
||||||
<a id="__codelineno-2-11" name="__codelineno-2-11" href="#__codelineno-2-11"></a><span class="nv">EPILOG</span> <span class="o">?=</span>
|
<a id="__codelineno-2-11" name="__codelineno-2-11" href="#__codelineno-2-11"></a><span class="c"># python f-string literals</span>
|
||||||
<a id="__codelineno-2-12" name="__codelineno-2-12" href="#__codelineno-2-12"></a><span class="nv">USAGE</span> <span class="o">?={</span>ansi.<span class="k">$(</span>HEADER_STYLE<span class="k">)</span><span class="o">}</span>usage<span class="o">{</span>ansi.end<span class="o">}</span>:<span class="se">\n</span> make <recipe><span class="se">\n</span>
|
<a id="__codelineno-2-12" name="__codelineno-2-12" href="#__codelineno-2-12"></a><span class="nv">EPILOG</span> <span class="o">?=</span>
|
||||||
<a id="__codelineno-2-13" name="__codelineno-2-13" href="#__codelineno-2-13"></a><span class="nv">INHERIT_SHELL</span> <span class="o">?=</span>
|
<a id="__codelineno-2-13" name="__codelineno-2-13" href="#__codelineno-2-13"></a><span class="cp">define USAGE ?=</span>
|
||||||
|
<a id="__codelineno-2-14" name="__codelineno-2-14" href="#__codelineno-2-14"></a><span class="nf">{ansi.$(HEADER_STYLE)}usage{ansi.end}</span><span class="o">:</span>
|
||||||
|
<a id="__codelineno-2-15" name="__codelineno-2-15" href="#__codelineno-2-15"></a> make <recipe>
|
||||||
|
<a id="__codelineno-2-16" name="__codelineno-2-16" href="#__codelineno-2-16"></a>
|
||||||
|
<a id="__codelineno-2-17" name="__codelineno-2-17" href="#__codelineno-2-17"></a><span class="cp">endef</span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<p>To use a custom color for one of the predefined configuration variables specify only the custom method.</p>
|
<p>To use a custom color for one of the predefined configuration variables specify only the custom method.</p>
|
||||||
<div class="highlight"><pre><span></span><code><a id="__codelineno-3-1" name="__codelineno-3-1" href="#__codelineno-3-1"></a><span class="nv">HEADER_STYLE</span> <span class="o">=</span> custom<span class="o">(</span><span class="nv">fg</span><span class="o">=</span><span class="m">171</span>,bg<span class="o">=</span><span class="m">227</span><span class="o">)</span>
|
<div class="highlight"><pre><span></span><code><a id="__codelineno-3-1" name="__codelineno-3-1" href="#__codelineno-3-1"></a><span class="nv">HEADER_STYLE</span> <span class="o">=</span> custom<span class="o">(</span><span class="nv">fg</span><span class="o">=</span><span class="m">171</span>,bg<span class="o">=</span><span class="m">227</span><span class="o">)</span>
|
||||||
|
@ -583,7 +587,7 @@ If you need to debug your python script, use <code>DEBUG=1</code> when you run <
|
||||||
<small>
|
<small>
|
||||||
|
|
||||||
Last update:
|
Last update:
|
||||||
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">September 21, 2022</span>
|
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">September 18, 2022</span>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
Created:
|
Created:
|
||||||
|
@ -665,12 +669,12 @@ If you need to debug your python script, use <code>DEBUG=1</code> when you run <
|
||||||
<div class="md-dialog__inner md-typeset"></div>
|
<div class="md-dialog__inner md-typeset"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script id="__config" type="application/json">{"base": "..", "features": ["navigation.indexes"], "search": "../assets/javascripts/workers/search.5bf1dace.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version.title": "Select version"}}</script>
|
<script id="__config" type="application/json">{"base": "..", "features": ["navigation.indexes"], "search": "../assets/javascripts/workers/search.ecf98df9.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version.title": "Select version"}}</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="../assets/javascripts/bundle.37e9125f.min.js"></script>
|
<script src="../assets/javascripts/bundle.39f04ddb.min.js"></script>
|
||||||
|
|
||||||
<script src="../javascripts/asciinema-player.min.js"></script>
|
<script src="../javascripts/asciinema-player.min.js"></script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue