diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-13 22:52:46 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-13 22:52:46 +0200 |
| commit | cd5a3614baab756a41d764b79308afeea93f12dd (patch) | |
| tree | efc8c31e8b162ca2121ba92c841322119e6d3b04 /Justfile | |
| parent | bf7c6ade292a6444877797c8d699d147aceb57cc (diff) | |
Remove Perl version and build files; add .gitignore for .serena/
Amp-Thread-ID: https://ampcode.com/threads/T-019c58b3-06fb-733d-8fc1-f268fe7f70d5
Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'Justfile')
| -rw-r--r-- | Justfile | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/Justfile b/Justfile deleted file mode 100644 index 5f5385c..0000000 --- a/Justfile +++ /dev/null @@ -1,57 +0,0 @@ -NAME := "loadbars" -VERSION := "0.7.5" - -default: version perltidy - -version: - echo {{VERSION}} > .version - -profile: - perl -d:NYTProf loadbars --hosts localhost - nytprofhtml nytprof.out - -perltidy: - find . -name \*.pm | xargs perltidy -b - perltidy -b {{NAME}} - find . -name \*.bak -delete - -install DESTDIR="": - #!/usr/bin/env bash - if [ ! -d "{{DESTDIR}}/usr/bin" ]; then - mkdir -p {{DESTDIR}}/usr/bin - fi - if [ ! -d "{{DESTDIR}}/usr/share/{{NAME}}" ]; then - mkdir -p {{DESTDIR}}/usr/share/{{NAME}} - fi - cp {{NAME}} {{DESTDIR}}/usr/bin - cp -r ./lib {{DESTDIR}}/usr/share/{{NAME}}/lib - cp -r ./fonts {{DESTDIR}}/usr/share/{{NAME}}/fonts - cp ./.version {{DESTDIR}}/usr/share/{{NAME}}/version - -deinstall DESTDIR="": - #!/usr/bin/env bash - if [ -n "{{DESTDIR}}" ] && [ -f "{{DESTDIR}}/usr/bin/{{NAME}}" ]; then - rm {{DESTDIR}}/usr/bin/{{NAME}} - fi - if [ -n "{{DESTDIR}}" ] && [ -d "{{DESTDIR}}/usr/share/{{NAME}}" ]; then - rm -r {{DESTDIR}}/usr/share/{{NAME}} - fi - -clean: - #!/usr/bin/env bash - if [ -f nytprof.out ]; then - rm nytprof.out - fi - if [ -f tmon.out ]; then - rm tmon.out - fi - if [ -d nytprof ]; then - rm -Rf nytprof - fi - -release: version perltidy - git add -A - git commit -m 'New release {{VERSION}}' - git tag {{VERSION}} - git push --tags - git push origin master |
