Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 2.22 KB

File metadata and controls

46 lines (26 loc) · 2.22 KB

Quest Command

Build and Test

An open world rpg with intense levels of interaction, experienced through the command prompt.

See the wiki for more information

See Ways to Play for the different ways you can play the game right now, or just try it right now on the web!

Building

Building

Run gradlew build-data. This creates and updates some files via reflection so that they don't need to be done at runtime. This only needs to be re-run when you change certain files (like adding new commands, events, event listeners, etc)

Run gradlew build to build a jar. This should be found in QuestCommand/build/libs

Run gradlew publishToMavenLocal to push to local maven for other projects to consume. implementation("org.rak.manapart:quest-command:dev")

Gradle failing to build

./gradlew: 68: Syntax error: word unexpected (expecting "in") is due to differences between windows and linux and can be solved by sed -i.bak 's/\r$//' gradlew

PackageName Unresolved

Getting Unresolved reference: packageName? You're probably running gradle on something less than 11. Check java -version on the terminal and Settings > Build Execution Deployment > Gradle has Gradle JVM set appropriately

Running in the browser

gradlew jsBrowserDevelopmentRun

Pushing to web

./gradlew jsBrowserDistribution && aws s3 sync build/dist/js/productionExecutable/ s3://austinkucera.com/games/quest-command/ && bust-caches

Visual Git Log

gource -a 1 -s 1 --file-idle-time 0 --key -f

PWA

If local host is blocked, update site settings for local host and make sure basically nothing is blocked brave://settings/content/siteDetails?site=http%3A%2F%2Flocalhost%3A3000 Also make sure that service workers are disabled / pushed through to network to get latest code when doing development