diff --git a/modules/retroarch b/modules/retroarch index 5c6643c..8342b3c 160000 --- a/modules/retroarch +++ b/modules/retroarch @@ -1 +1 @@ -Subproject commit 5c6643c4a8c6b8c21e1e5616665bc5f0f689e450 +Subproject commit 8342b3cebe4e5bbb74390095d9890d6fde55f2e1 diff --git a/package.json b/package.json index a60477c..f3a9281 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,22 @@ { "name": "retro-assembly-vendors", - "version": "1.17.0-20240125144704", + "version": "1.17.0-20240225181605", "description": "Upstream files for Retro Assembly", - "keywords": [], - "author": "arianrhodsandlot", + "keywords": [ + "retroarch", + "emulator", + "emscripten" + ], + "author": { + "name": "arianrhodsandlot", + "email": "theguidanceofawhitetower@gmail.com" + }, "license": "GPL-3.0", "files": [ "dist" - ] + ], + "scripts": { + "bump": "./scripts/bump.sh", + "dev": "python3 -m http.server" + } } diff --git a/scripts/build-cores.sh b/scripts/build-cores.sh index bbe995f..4cfc240 100755 --- a/scripts/build-cores.sh +++ b/scripts/build-cores.sh @@ -65,10 +65,9 @@ function dist_core() { echo "Compile bitcode files finished!" } -# cores=(FBNeo stella2014-libretro prosystem-libretro) -cores=(a5200 fbneo prosystem stella2014) clean_up_retroarch_dir -activate_emscripten '3.1.46' +activate_emscripten '3.1.50' +cores=(a5200 fbneo prosystem stella2014) for core in "${cores[@]}"; do build_core_bitcode "$core" dist_core $core diff --git a/scripts/bump.sh b/scripts/bump.sh new file mode 100755 index 0000000..7a5e9c2 --- /dev/null +++ b/scripts/bump.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +set -e + +wd=$(pwd) +retroarch_dir=$wd/modules/retroarch + +cd $retroarch_dir +retroarch_version=$(git describe --tags $(git rev-list --tags --max-count=1) | sed 's/^v//') + +current_time=$(date "+%Y%m%d%H%M%S") + +cd $wd +version="$retroarch_version-$current_time" +echo $version +sed -i '' "s/\"version\": \".*\"/\"version\": \"$version\"/" package.json