-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Intial import for mac installer of arcanist
Change-Id: Id4200c6cdfd68ab021d426ce59da741b15a8274b
- Loading branch information
Showing
8 changed files
with
67 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[submodule "Arcanist/arcanist"] | ||
path = Arcanist/arcanist | ||
url = https://gerrit.wikimedia.org/r/phabricator/arcanist | ||
branch = wmf/stable | ||
[submodule "Arcanist/libphutil"] | ||
path = Arcanist/libphutil | ||
url = https://gerrit.wikimedia.org/r/phabricator/libphutil | ||
branch = wmf/stable |
Submodule arcanist
added at
9c8774
Submodule libphutil
added at
90fe8b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,39 @@ | ||
# Arcanist-installer-for-mac | ||
# Arcanist installer for mac | ||
This is a mac installer to install Arcanist for mac | ||
|
||
To build this for yourself do the following from bash | ||
|
||
git init | ||
|
||
git submodule update | ||
|
||
then run the following script from bash (Note: You may need to do sudo ./installer.sh) | ||
|
||
You may need to chmod these shell scripts so do the following | ||
|
||
chmod a+x installer.sh | ||
|
||
chmod a+x uninstaller/uninstaller.sh | ||
|
||
chmod a+x scripts/* | ||
|
||
chmod a+x uninstaller/scripts/* | ||
|
||
./installer.sh | ||
|
||
To create the uninstaller run the following script from bash (Note: You may need to do sudo ./uninstaller.sh) | ||
|
||
cd uninstaller | ||
|
||
./uninstaller.sh | ||
|
||
You will find it generates two files in this folder called arcanist-installer.pkg and uninstaller/arcanist-uninstaller.pkg these files are the installer and uninstaller. | ||
|
||
Click on arcanist-installer.pkg which will start the installation process then follow the install steps. | ||
|
||
You will find the files installed in /private/var/arcanist/ and /private/var/libphutil/ (Note these folders are not easily accisible by the macs finder. To find them you need to | ||
go to the finder application then on the top bar click go and then click go to folder and type in /private/var/arcanist/ or /private/var/libphutil/) | ||
|
||
Note: You will need to restart your terminal for the changes to be applied. | ||
|
||
in uninstaller folder you will find file arcanist-uninstaller.pkg which will uninstall arcanist from your mac. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
pkgbuild --root ./Arcanist --scripts scripts --identifier com.arcanist.arcanist --version 1 --install-location /private/var arcanist-installer.pkg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
echo "/private/var/arcanist/bin" > /etc/paths.d/zmodemapp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
rm -rf /private/var/arcanist | ||
|
||
rm -rf /private/var/libphutil | ||
|
||
rm -rf /private/var/arc-temp | ||
|
||
rm /etc/paths.d/zmodemapp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
pkgbuild --root ../Arcanist --scripts scripts --identifier com.arcanist.arc --version 1 --install-location /private/var/arc-temp arcanist-uninstaller.pkg |