Forked from pcarrier/fsnotifier for your ARM laptop
Created
December 3, 2016 20:32
-
-
Save Mr-Kumar-Abhishek/396255df0d0296b1a8b6f7cd29f22bde to your computer and use it in GitHub Desktop.
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
Install fsnotifier for IntelliJ IDEA on your ARM laptop. | |
Works better than one might expect with JDK8. | |
Usage: | |
$ sh fsnotifierto.sh /opt/idea/bin/ | |
... | |
Sorry for the truncate insanity. | |
Sadly not much I can do: | |
http://git.jetbrains.org/?p=idea/community.git;a=blob;f=platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/FileWatcher.java;hb=HEAD#l221 |
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
#!/bin/sh | |
set -e | |
for f in fsnotifier.h \ | |
inotify.c \ | |
main.c \ | |
make.sh \ | |
util.c | |
do | |
curl \ | |
"http://git.jetbrains.org/?p=idea/community.git;a=blob_plain;f=native/fsNotifier/linux/$f;hb=131" \ | |
-o $f | |
done | |
sh make.sh | |
strip fsnotifier fsnotifier64 | |
# Should check against truncation | |
truncate -s 29155 fsnotifier64 | |
truncate -s 22791 fsnotifier | |
cp fsnotifier fsnotifier64 $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment