blob: 841d3b10a5e8059757d5be3f3a8dd94bceecc431 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#This allows the Task build system to run commands to build components of the project
#You must install Task before executing this file, https://taskfile.dev
version: '3'
tasks:
package-update:
cmds:
- for: [ front-end/, lib/admin/, lib/client/ ]
cmd: cd {{.ITEM}} && task package-update
#update project source code
update:
cmds:
- git reset --hard
- git remote update
- git pull origin {{.BRANCH_NAME}} --verify-signatures
#re-write semver for back-end after hard reset
- dotnet-gitversion.exe /updateprojectfiles
build:
cmds:
#copy artifacts to temp directory
postbuild_success:
cmds:
#git archive in the module directory
- git archive --format {{.ARCHIVE_FILE_FORMAT}} --output {{.ARCHIVE_FILE_NAME}} HEAD
#clean hook
clean:
cmds:
|