0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-22 03:05:15 +00:00

hot rebuild script

This commit is contained in:
Nikita Krupin 2022-03-23 15:43:49 -04:00
parent a25c31f3e6
commit 801071ed1c
7 changed files with 30 additions and 9 deletions

View file

@ -1,6 +1,6 @@
<template> <template>
<v-card <v-card
class="entry gridVideoRenderer background" class="entry gridVideoRenderer accent"
:to="`/watch?v=${video.videoId}`" :to="`/watch?v=${video.videoId}`"
flat flat
> >

View file

@ -1,6 +1,6 @@
<template> <template>
<v-card <v-card
class="entry gridVideoRenderer background" class="entry gridVideoRenderer accent"
:to="`/watch?v=${video.videoId}`" :to="`/watch?v=${video.videoId}`"
flat flat
> >

View file

@ -9,7 +9,7 @@
ref="player" ref="player"
style="max-height: 50vh" style="max-height: 50vh"
/> />
<v-card v-if="loaded" class="ml-2 mr-2 background" flat> <v-card v-if="loaded" class="ml-2 mr-2 accent" flat>
<v-card-title <v-card-title
class="mt-2" class="mt-2"
style=" style="

View file

@ -7,11 +7,11 @@
<deviceKey> <deviceKey>
<Key> <Key>
<type value="VIRTUAL_DEVICE_PATH" /> <type value="VIRTUAL_DEVICE_PATH" />
<value value="$USER_HOME$/.android/avd/Pixel_3a_API_31_arm64-v8a.avd" /> <value value="$USER_HOME$/.android/avd/Pixel_5_API_31.avd" />
</Key> </Key>
</deviceKey> </deviceKey>
</Target> </Target>
</targetSelectedWithDropDown> </targetSelectedWithDropDown>
<timeTargetWasSelectedWithDropDown value="2022-03-21T20:35:21.068578Z" /> <timeTargetWasSelectedWithDropDown value="2022-03-23T18:18:11.698053Z" />
</component> </component>
</project> </project>

View file

@ -10,16 +10,16 @@
"plugins": { "plugins": {
"SplashScreen": { "SplashScreen": {
"launchShowDuration": 100, "launchShowDuration": 100,
"launchAutoHide": true, "launchAutoHide": false,
"backgroundColor": "#111111", "backgroundColor": "#111111",
"androidSplashResourceName": "splash", "androidSplashResourceName": "splash",
"androidScaleType": "CENTER_CROP", "androidScaleType": "CENTER_CROP",
"androidSpinnerStyle": "large", "androidSpinnerStyle": "large",
"iosSpinnerStyle": "small", "iosSpinnerStyle": "small",
"spinnerColor": "#999999", "spinnerColor": "#999999",
"showSpinner": true, "showSpinner": false,
"splashFullScreen": true, "splashFullScreen": false,
"splashImmersive": true "splashImmersive": false
} }
} }
} }

21
scripts/hot.sh Executable file
View file

@ -0,0 +1,21 @@
function hot {
if (( $# < 2 )); then
echo 'USAGE: hot <command> <file1> [<file2> ... <fileN>]'
echo '<command> will be run once when any of the files listed is changed (i.e. ls -l <file> has its output changed)'
else
script=$1
shift
a='';
while true; do
echo "checking $1"
b=`ls -lahR $* | grep -v 'node_modules'`
# to avoid confusing myself with nested-if - it is a "short form" of doing a=$b; eval $script if $a != $b.
[[ $a != $b ]] && a=$b && eval $script;
sleep .5;
done
fi
}
# NOTE: run from the root of the project
# ./scripts/watcher.sh init NUXT
hot ./scripts/build.sh NUXT

0
scripts/install.sh Normal file → Executable file
View file