mirror of
https://github.com/linuxserver/libretrojs.git
synced 2026-03-09 00:04:54 +08:00
update build process and example to pull out deps
This commit is contained in:
parent
c8ff4e9e40
commit
e0b0ecbe9c
@ -10,9 +10,6 @@ This repository collects the assets used in [https://github.com/linuxserver/emul
|
||||
EJS_gameUrl = '/your/game/rom.zip';
|
||||
EJS_core = 'snes9x';
|
||||
</script>
|
||||
<script src="js/vendor/jquery.min.js"></script>
|
||||
<script src="js/vendor/jquery.hotkeys.js"></script>
|
||||
<script src="js/vendor/browserfs.min.js"></script>
|
||||
<script src="js/libretro.js"></script>
|
||||
```
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
# Setup build dirs
|
||||
rootdir=$(pwd)'/buildout/'
|
||||
mkdir -p ${rootdir}{data,js/vendor,emulatorjstmp}
|
||||
mkdir -p ${rootdir}{data,js,emulatorjstmp}
|
||||
|
||||
## Grab frontend blobs
|
||||
# Custom cores
|
||||
@ -20,11 +20,6 @@ tar xf \
|
||||
mv \
|
||||
${rootdir}/emulatorjstmp/frontend/js/libretro.js \
|
||||
${rootdir}/js/
|
||||
mv \
|
||||
${rootdir}/emulatorjstmp/frontend/js/vendor/browserfs.min.js \
|
||||
${rootdir}/emulatorjstmp/frontend/js/vendor/jquery.hotkeys.js \
|
||||
${rootdir}/emulatorjstmp/frontend/js/vendor/jquery.min.js \
|
||||
${rootdir}/js/vendor/
|
||||
rm -Rf ${rootdir}/emulatorjstmp/
|
||||
# Make tarball for release
|
||||
cd ${rootdir}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user