TobyLobster / Inform

Inform is a design system for interactive fiction based on natural language
Other
82 stars 18 forks source link

How to build with custom inform? #44

Open tbodt opened 11 months ago

tbodt commented 11 months ago

complier_injection.sh assumes the existence of a makefile in the Inform Core directory and I can't find anything that could create such a thing. It also seems to assume that there something is copying files into the TEMP_STAGING_AREA, which I can't find any trace of even searching all the code on GitHub.

tbodt commented 11 months ago

The make-integration-settings.mk is missing? Only the Linux and Windows ones exist anywhere on GitHub. https://github.com/search?q=path%3Amake-integration-settings.mk&type=code

tbodt commented 11 months ago

Was able to get it working by writing my own make-integration-settings.mk, and also checking out the extensions branch that is actually compatible with the current inform core.

# Make settings for integrating Inform's user interface and core software.
# This file contains only those settings likely to differ on different
# platforms, and the idea is that each user interface maintainer will keep
# his or her own version of this file.

# Toby Nelson forgot to commit the make-integration-settings.mk for Mac so I'm reverse engineering it here.

INTEGRATION = TRUE

# Now, the locations to which resources must be copied, inside the
# application. These pathnames mustn't contain spaces:

BUILTINCOMPS = ../InformApp/inform/TempStagingArea/Contents/MacOS
INTERNAL = ../InformApp/inform/TempStagingArea/Contents/Resources/Internal
BUILTINHTML = ../InformApp/inform/TempStagingArea/Contents/Resources
BUILTINHTMLINNER = ../InformApp/inform/TempStagingArea/Contents/Resources/en.lproj
ADVICEHTML = ../InformApp/inform/TempStagingArea/Contents/Resources/en.lproj

# Various executables are copied into the BUILTINCOMPS folder, but their
# filenames when copied there have sometimes differed between platforms.

INBLORBNAME = cBlorb
INFORM6NAME = inform6
INFORM7NAME = ni
INTESTNAME = intest

# Indoc options for generating the inside-the-application documentation:

INDOCOPTS = osx_dev_app
HTMLPLATFORM = macos