0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-24 20:25:17 +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>
<v-card
class="entry gridVideoRenderer background"
class="entry gridVideoRenderer accent"
:to="`/watch?v=${video.videoId}`"
flat
>

View file

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

View file

@ -9,7 +9,7 @@
ref="player"
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
class="mt-2"
style="

View file

@ -7,11 +7,11 @@
<deviceKey>
<Key>
<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>
</deviceKey>
</Target>
</targetSelectedWithDropDown>
<timeTargetWasSelectedWithDropDown value="2022-03-21T20:35:21.068578Z" />
<timeTargetWasSelectedWithDropDown value="2022-03-23T18:18:11.698053Z" />
</component>
</project>

View file

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