mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-24 17:18:54 +00:00
Support for postinstall scripts
This commit is contained in:
1 parent
3bb450adbf
commit
b958911c63
2 files changed
+29
No files matched your search
@@ -88,6 +88,20 @@ or
|
||||
This is a handy shortcut for
|
||||
.Sy --symlink --build.
|
||||
.El
|
||||
.Ss Postinstall scripts
|
||||
After copying the chosen template, replacing placeholders, and installing the frameworks,
|
||||
if
|
||||
.Nm
|
||||
finds a file named "postinstall", it will be executed using
|
||||
.Sy sh.
|
||||
The script receives a single parameter which is the directory of the generated project.
|
||||
Scripts should reference files in the project relative to that directory.
|
||||
.Pp
|
||||
After executing the
|
||||
.Sy postinstall
|
||||
script,
|
||||
.Nm
|
||||
deletes it from the generated project.
|
||||
.\"-----------------------------------------------------------------------------------------
|
||||
.Sh CONFIGURING
|
||||
.\"-----------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user