Ajout de tests pour la gestion des opérateurs de chaînage dans Bakefile et Makefile
This commit is contained in:
parent
362845b224
commit
6478a042ee
7
tests/test-30-command-chaining-operators/bake/Bakefile
Normal file
7
tests/test-30-command-chaining-operators/bake/Bakefile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
Main.class: Main.java
|
||||||
|
javac Main.java && \
|
||||||
|
echo "Compilation terminée"
|
||||||
|
|
||||||
|
main: Main.class
|
||||||
|
java Main && \
|
||||||
|
echo "Exécution terminée"
|
5
tests/test-30-command-chaining-operators/bake/Main.java
Normal file
5
tests/test-30-command-chaining-operators/bake/Main.java
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
public class Main {
|
||||||
|
public static void main(String[] args) {
|
||||||
|
System.out.println("Hello World");
|
||||||
|
}
|
||||||
|
}
|
5
tests/test-30-command-chaining-operators/make/Main.java
Normal file
5
tests/test-30-command-chaining-operators/make/Main.java
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
public class Main {
|
||||||
|
public static void main(String[] args) {
|
||||||
|
System.out.println("Hello World");
|
||||||
|
}
|
||||||
|
}
|
7
tests/test-30-command-chaining-operators/make/Makefile
Normal file
7
tests/test-30-command-chaining-operators/make/Makefile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
Main.class: Main.java
|
||||||
|
javac Main.java && \
|
||||||
|
echo "Compilation terminée"
|
||||||
|
|
||||||
|
main: Main.class
|
||||||
|
java Main && \
|
||||||
|
echo "Exécution terminée"
|
Loading…
x
Reference in New Issue
Block a user