crystal-community / icr

Interactive console for Crystal programming language
MIT License
505 stars 40 forks source link

Remove post-install script #69

Closed faustinoaq closed 6 years ago

faustinoaq commented 7 years ago

ICR is used as dependency on other shards, it allow to install without post-install issues.

$ amber new blog --template ecr --database sqlite --deps
...
Installing icr (0.3.0)
Postinstall make install
Failed make install:
/usr/bin/crystal build --release --no-debug -o bin/icr src/icr/cli.cr
mkdir -p /usr/local/bin
cp ./bin/icr /usr/local/bin
cp: cannot create regular file '/usr/local/bin/icr': Permission denied
make: *** [Makefile:13: install] Error 1

Also see: https://travis-ci.org/amberframework/amberframework.org/builds/294059765?utm_source=github_status&utm_medium=notification

veelenga commented 6 years ago

That makes sense, especially if sometimes can happen Permission denied