Skip to content

Commit f0a4c43

Browse files
committed
Updated build scripts.
1 parent 4673c70 commit f0a4c43

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ The format is based on [Keep a Changelog][Keep a Changelog], and this project ad
2222
- Updated workflow for gitmodules.
2323
- Updated workflow for gitmodules for all jobs.
2424
- Added `--remote` `--merge` to submodule update in workflow.
25+
- Updated build scripts.
2526

2627
## [0.0.3] - 2021-01-05
2728

static-to-copy/.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v2
1313
- name: Checkout submodules
14-
run: git submodule update --init --recursive --remote --merge
14+
run: make git
1515
- uses: actions/setup-java@v1
1616
with:
1717
java-version: '15.0.0'
@@ -29,7 +29,7 @@ jobs:
2929
steps:
3030
- uses: actions/checkout@v2
3131
- name: Checkout submodules
32-
run: git submodule update --init --recursive --remote --merge
32+
run: make git
3333
- uses: actions/setup-python@v2
3434
with:
3535
python-version: '3.9'
@@ -48,7 +48,7 @@ jobs:
4848
steps:
4949
- uses: actions/checkout@v2
5050
- name: Checkout submodules
51-
run: git submodule update --init --recursive --remote --merge
51+
run: make git
5252
- uses: actions/setup-dotnet@v1
5353
with:
5454
dotnet-version: '5.0.100'

static-to-copy/Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,16 @@ pythoncode: pythontestcoverage
6161
getproblemscount:
6262
python ${workspaceFolder}scripts/get_problems_count.py
6363

64+
get-git-submodules:
65+
git submodule update --init --recursive --remote --merge
66+
6467
#*****************
6568
# All tasks
6669
#*****************
6770

71+
git: get-git-submodules
72+
6873
code: javacode pythoncode csharpcode
6974

70-
all: getproblemscount code
75+
all: git getproblemscount code
7176

0 commit comments

Comments
 (0)