ascarter / Go-bbpackage

BBEdit package for Go development
MIT License
35 stars 3 forks source link

make install error, BBEdit app bundle ctags dir non-existent #14

Closed flips closed 4 years ago

flips commented 5 years ago

I get this error:

$ make install
mkdir -p ./Go.bbpackage/Contents
cp README.md ./Go.bbpackage/.
cp LICENSE ./Go.bbpackage/.
cp -R ./src/* ./Go.bbpackage/Contents/.
/Applications/BBEdit.app/Contents/Resources/ctags --recurse --extra=+p+q+r --fields=+a+m+n+S --excmd=number --tag-relative=no --sort=no --exclude=.git --exclude="*_test.go" --exclude="**/testdata/**" --exclude="**/internal/**" -f - /usr/local/Cellar/go/1.12/libexec/src | grep -v -E '^(\w+[.])?[^A-Z]\w+\s+\S+\s\d+[;]["]\s+[cfimstv]' > ./gostdlib.tags
/bin/sh: /Applications/BBEdit.app/Contents/Resources/ctags: No such file or directory
make: *** [Go.bbpackage/Contents/Completion Data/Go/Go Standard Library.tags] Error 1

So there's no Resources/ctags in the app bundle. (Should I make the dir?) 🤔 Installing by double-clicking the resulting Go.bbpackage seems to work, though. Not sure if I should copy gostdlib.tags somewhere. 😄

utdrmac commented 4 years ago

Resolution here? Same issue. BBEdit 12.6.7

utdrmac commented 4 years ago

Seems to work with this change:

CTAGS_CMD ?= /Applications/BBEdit.app/Contents/Helpers/ctags
ascarter commented 4 years ago

Resolved with 1.0.0 release