1.0.0 Alpha Release #59
6 changed files with 24 additions and 0 deletions
3
tests/example_project/scripts/unit.bash
Normal file
3
tests/example_project/scripts/unit.bash
Normal file
|
@ -0,0 +1,3 @@
|
|||
echo "Hello World!"
|
||||
read -p "What is your name? " name
|
||||
echo "Hello $name"
|
4
tests/example_project/scripts/unit.lua
Normal file
4
tests/example_project/scripts/unit.lua
Normal file
|
@ -0,0 +1,4 @@
|
|||
print("Hello World!")
|
||||
print("What is your name?")
|
||||
name = io.read()
|
||||
print("Hello " .. name)
|
5
tests/example_project/scripts/unit.php
Normal file
5
tests/example_project/scripts/unit.php
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
echo 'Hello World!' . PHP_EOL;
|
||||
echo 'What is your name? ';
|
||||
$name = trim(fgets(STDIN));
|
||||
echo "Hello $name" . PHP_EOL;
|
6
tests/example_project/scripts/unit.pl
Normal file
6
tests/example_project/scripts/unit.pl
Normal file
|
@ -0,0 +1,6 @@
|
|||
use warnings;
|
||||
print("Hello, World!\n");
|
||||
print("What is your name? ");
|
||||
my $name = <STDIN>;
|
||||
chomp($name);
|
||||
print("Hello, $name\n");
|
3
tests/example_project/scripts/unit.py2
Normal file
3
tests/example_project/scripts/unit.py2
Normal file
|
@ -0,0 +1,3 @@
|
|||
print('Hello World!')
|
||||
name = input('What is your name? ')
|
||||
print('Hello', name)
|
3
tests/example_project/scripts/unit.py3
Normal file
3
tests/example_project/scripts/unit.py3
Normal file
|
@ -0,0 +1,3 @@
|
|||
print('Hello World!')
|
||||
name = input('What is your name? ')
|
||||
print('Hello', name)
|
Loading…
Add table
Reference in a new issue