diff --git a/GRADLE_PLUGIN.md b/GRADLE_PLUGIN.md index c85b708fdfa..3e79f03ca71 100644 --- a/GRADLE_PLUGIN.md +++ b/GRADLE_PLUGIN.md @@ -32,12 +32,12 @@ details). konanArtifacts { foo { - inputFiles = fileTree('foo/src') + inputFiles fileTree('foo/src') } bar { - inputFiles = fileTree('bar/src') - target = iphone + inputFiles fileTree('bar/src') + target iphone } } diff --git a/samples/gitchurn/build.sh b/samples/gitchurn/build.sh index ec9b369abe2..4aebf21c0fd 100755 --- a/samples/gitchurn/build.sh +++ b/samples/gitchurn/build.sh @@ -3,9 +3,12 @@ PATH=../../dist/bin:../../bin:$PATH DIR=. +# Uncomment flags if your paths differ from these ones. CFLAGS_macbook=-I/opt/local/include +#CFLAGS_macbook=-I/usr/local/include CFLAGS_linux=-I/usr/include LINKER_ARGS_macbook="-L/opt/local/lib -lgit2" +#LINKER_ARGS_macbook="-L/usr/local/lib -lgit2" LINKER_ARGS_linux="-L/usr/lib/x86_64-linux-gnu -lgit2" if [ x$TARGET == x ]; then diff --git a/samples/tetris/build.sh b/samples/tetris/build.sh index 1b111c9424c..cacc31da7e9 100755 --- a/samples/tetris/build.sh +++ b/samples/tetris/build.sh @@ -7,8 +7,11 @@ DEPS=$(dirname `type -p konanc`)/../dependencies CFLAGS_macbook=-I$HOME/Library/Frameworks/SDL2.framework/Headers LINKER_ARGS_macbook="-F $HOME/Library/Frameworks -framework SDL2" COMPILER_ARGS_macbook= +# Uncomment this if your path to SDL differs from the one above. #CFLAGS_macbook=-I/opt/local/include/SDL2 #LINKER_ARGS_macbook="-L/opt/local/lib -lSDL2" +#CFLAGS_macbook=-I/usr/local/include/SDL2 +#LINKER_ARGS_macbook="-L/usr/local/lib -lSDL2" CFLAGS_linux=-I/usr/include/SDL2 LINKER_ARGS_linux="-L/usr/lib/x86_64-linux-gnu -lSDL2"