forked from ysb33r/gnumake-gradle-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensured that the changes for 1.1 dis not miss any from 1.0.2
- Loading branch information
Showing
24 changed files
with
152 additions
and
97 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import org.gradle.internal.os.OperatingSystem | ||
|
||
apply plugin : 'org.ysb33r.gnumake' | ||
|
||
|
||
gnumake { | ||
if(OperatingSystem.current().isWindows()) { | ||
executable "cmd.exe" | ||
execArgs '/c', file("${projectDir}/fake-make.bat").absolutePath | ||
} else { | ||
executable "sh" | ||
execArgs "${projectDir}/fake-make.sh" | ||
} | ||
} | ||
|
||
make { | ||
flags DESTDIR : 'foo/bar' | ||
targets 'build','install' | ||
} | ||
|
||
task runGradleTest { | ||
dependsOn 'make' | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@REM | ||
@REM ============================================================================ | ||
@REM (C) Copyright Schalk W. Cronje 2013-2015 | ||
@REM | ||
@REM This software is licensed under the Apache License 2.0 | ||
@REM See http://www.apache.org/licenses/LICENSE-2.0 for license details | ||
@REM | ||
@REM Unless required by applicable law or agreed to in writing, software distributed under the License is | ||
@REM distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
@REM See the License for the specific language governing permissions and limitations under the License. | ||
@REM | ||
@REM ============================================================================ | ||
@REM | ||
|
||
@echo off | ||
echo fake-make %1 %2 %3 %4 %5 %6 %7 %8 %9 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# ============================================================================ | ||
# (C) Copyright Schalk W. Cronje 2013-2015 | ||
# | ||
# This software is licensed under the Apache License 2.0 | ||
# See http://www.apache.org/licenses/LICENSE-2.0 for license details | ||
# | ||
# Unless required by applicable law or agreed to in writing, software distributed under the License is | ||
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and limitations under the License. | ||
# | ||
# ============================================================================ | ||
# | ||
|
||
echo fake-make $@ |
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
2 changes: 1 addition & 1 deletion
2
src/main/groovy/org/ysb33r/gradle/gnumake/GnuMakeExtension.groovy
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
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
2 changes: 1 addition & 1 deletion
2
src/main/groovy/org/ysb33r/gradle/gnumake/internal/Executor.groovy
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
2 changes: 1 addition & 1 deletion
2
src/main/groovy/org/ysb33r/gradle/gnumake/internal/InputOutputMonitor.groovy
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
2 changes: 1 addition & 1 deletion
2
src/main/groovy/org/ysb33r/gradle/gnumake/internal/MakeExecutor.groovy
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
2 changes: 1 addition & 1 deletion
2
src/main/groovy/org/ysb33r/gradle/gnumake/internal/Rules.groovy
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
2 changes: 1 addition & 1 deletion
2
src/main/groovy/org/ysb33r/gradle/gnumake/internal/TaskUtils.groovy
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
2 changes: 1 addition & 1 deletion
2
src/main/groovy/org/ysb33r/gradle/gnumake/internal/TrackerTask.groovy
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
Oops, something went wrong.