Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

Fix package scripts for macOS and improve setup instructions #63

Merged
merged 2 commits into from
Apr 13, 2018

Conversation

Mr0grog
Copy link
Collaborator

@Mr0grog Mr0grog commented Mar 31, 2018

I’ve had these changes sitting around on my hard drive for a while but figured I ought to push them up before I started committing new content!

There are a few bits in pkg2md.sh that aren’t supported in macOS; I think the changes I made should work across most all *nixes. I also added AEgir and make packages to the setup instructions and switched the call to Hugo to use make instead, since it seems like that’s what we’d want people doing if we ever add to the build process.

MacOS's grep does not have a `-P` option. I don't think these expressions need it though, so I just removed it.

MacOS also does not support `|&`, so swap it out for `2>&1 |` to pipe combined stdout/stderr.

License: MIT
Signed-off-by: Rob Brackett <rob@robbrackett.com>
Include installation of AEgir, downloading/building package docs, and switch `hugo server` to `make serve` since, if we ever need it to do more, we probably want people calling Make instead of Hugo directly.

License: MIT
Signed-off-by: Rob Brackett <rob@robbrackett.com>
@Mr0grog Mr0grog requested review from a user and flyingzumwalt March 31, 2018 00:22
@Mr0grog Mr0grog merged commit b5a8049 into master Apr 13, 2018
@Mr0grog Mr0grog deleted the fix-package-scripts-and-instructions branch April 13, 2018 18:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants