forked from
jollywhoppers.com/witchsky.app
fork
Configure Feed
Select the types of activity you want to include in your feed.
Bluesky app fork with some witchin' additions 馃挮
fork
Configure Feed
Select the types of activity you want to include in your feed.
1export PATH := "./node_modules/.bin:" + env_var('PATH')
2
3# lots of just -> yarn, but this lets us chain yarn command deps
4
5[group('dist')]
6dist-build-web: intl build-web
7
8[group('dist')]
9dist-build-android-sideload: intl build-android-sideload
10
11[group('dist')]
12dist-build-android-gradle: intl build-android-gradle
13
14[group('build')]
15intl:
16 yarn intl:build
17
18[group('build')]
19prebuild-android:
20 expo prebuild -p android
21
22[group('build')]
23build-web: && postbuild-web
24 yarn build-web
25
26[group('build')]
27build-android-sideload: prebuild-android
28 eas build --local --platform android --profile sideload-android
29
30[group('build')]
31[working-directory: 'android']
32build-android-gradle: prebuild-android
33 ./gradlew app:assembleRelease
34
35[group('build')]
36postbuild-web:
37 # build system outputs some srcs and hrefs like src="static/"
38 # need to rewrite to be src="/static/" to handle non root pages
39 sed -i 's/\(src\|href\)="static/\1="\/static/g' web-build/index.html
40
41 # we need to copy the static iframe html to support youtube embeds
42 cp -r bskyweb/static/iframe/ web-build/iframe
43
44 # copy our static pages over!
45 cp -r witchsky-static-about web-build/about
46
47 # temporarily copy over out bootleg config.txt to simulate geolocation
48 cp config.txt web-build/
49
50[group('dev')]
51dev-android-setup: prebuild-android
52 yarn android
53
54[group('dev')]
55dev-web:
56 yarn web
57
58[group('dev')]
59dev-web-functions: build-web
60 wrangler pages dev ./web-build
61
62[group('lint')]
63typecheck:
64 yarn typecheck