Skip to content

Commit ee50e41

Browse files
committed
Add make folders command
1 parent 5cb8b9e commit ee50e41

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ versions:
1313
workflows:
1414
./scripts/make-workflows.sh
1515

16-
scaffold:
17-
./scripts/make-scaffold.sh
16+
folders:
17+
./scripts/make-folders.sh
1818

19-
.PHONY: dockerbuild dockerpush test versions workflows scaffold
19+
.PHONY: dockerbuild dockerpush test versions workflows folders
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22

3-
for i in {01,02}
3+
# Make folders for all the days in the calendar
4+
for i in {01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25}
45
do
56
mkdir -p "./day-$i/cmd"
67
cat > "./day-$i/cmd/.keep" << KEEP

scripts/make-workflows.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22

3-
for i in {01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24}
3+
# Make Github workflows for all the days in the calendar
4+
for i in {01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25}
45
do
56
cat > "./.github/workflows/day-$i.yaml" << WORKFLOW
67
name: day-${i}

0 commit comments

Comments
 (0)