Skip to content

Commit ba7ff35

Browse files
0xbrayoErikBjare
authored andcommitted
add media submodule
1 parent f8b9d5a commit ba7ff35

3 files changed

Lines changed: 16 additions & 0 deletions

File tree

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "media"]
2+
path = media
3+
url = https://github.com/ActivityWatch/media.git

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
build:
2+
if [ -e "media/.git" ]; then \
3+
echo "Submodule seems to already be initialized, continuing..."; \
4+
else \
5+
git submodule update --init --recursive; \
6+
fi
7+
28
npm run tauri build
39

410
dev:
11+
if [ -e "media/.git" ]; then \
12+
echo "Submodule seems to already be initialized, continuing..."; \
13+
else \
14+
git submodule update --init --recursive; \
15+
fi
16+
517
npm run tauri dev

media

Submodule media added at ae8d373

0 commit comments

Comments
 (0)