Skip to content

Commit

Permalink
v.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanazamfirei committed Sep 11, 2024
1 parent fdf6021 commit 6ef8819
Show file tree
Hide file tree
Showing 40 changed files with 837 additions and 1,349 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
tests/*
prismscore_reworking*
prismscore_dlg.ado
.task/
44 changes: 44 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# https://taskfile.dev

version: '3'

tasks:
update-pkg:
desc: "Update the package file"
vars:
DATE: '{{ now | date "02Jan2006" | lower }}'
cmds:
- 'echo -e "v 3\nd prismscore\nd PRISM Score Calculator\nd\nd Razvan Azamfirei\nd Department of Anesthesiology and Critical Care\nd University of Pennsylvania\nd\nd Distribution-Date: {{.DATE}}\nf src/prismscore.ado\nf src/prismscore.sthlp\nf src/prismscore.dlg" > prismscore.pkg'
silent: true

copy-files:
desc: "Copy files to docs folder"
cmds:
- cp -r src/ docs/src/
- cp stata.toc docs/stata.toc
- cp prismscore.pkg docs/prismscore.pkg
sources:
- src/prismscore.*
- stata.toc
- prismscore.pkg
generates:
- docs/src/prismscore.ado
- docs/src/prismscore.sthlp
- docs/src/prismscore.dlg
- docs/stata.toc
- docs/prismscore.pkg

git-operations:
vars:
DATE: '{{ now | date "2006-01-02" }}'
cmds:
- git add .
- git commit -m "Package Update - {{.DATE}}"
- git push
silent: true

release:
cmds:
- task update-pkg
- task copy-files
- task git-operations
144 changes: 0 additions & 144 deletions certification-v1.1.smcl

This file was deleted.

Loading

0 comments on commit 6ef8819

Please sign in to comment.