ioi-packaging
Fill in the package details in package.json
; replace <@scope/package>
and <binary>
. Make the binary using either the Makefile
or through Xcode
. Once the binary is located in a subdir of _DerivedData
, then make dist
. It should then be ready to publish using npm [--access public] publish
. After publishing, the ioi-installer
can be used to install the package for IOI.
The binaries under bin
will be symlinked by npm
into the IOI install directory, under .bin
. npm
will call postinstall
after the install automatically and the ioi-installer
will call npm start
. The ioi-installer
can be used to call the other npm
scripts in the package.json
.
files
includes all files that will be added to the package. Do NOT include an asterisk after the last slash, or .DS_Store
and other garbage will be included, whether you have those files in .gitignore
or not. https://stackoverflow.com/questions/55245190/npm-pack-including-ds-store