Jan Philipp Hafer c85d2ef479 fix(clippy): define and fix clippy lints, add documentation+license 3 yıl önce
..
advanced 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
script_exec d91f3c05fc feat: Disable unicode support by default + update deps 5 yıl önce
README.md 1f2d8e2530 fix(manual): split string and array methods from section methods and test them 4 yıl önce
alias.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
alias.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
arithmetic_vars.ion 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic 4 yıl önce
arithmetic_vars.out 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic 4 yıl önce
array_methods.ion 1f2d8e2530 fix(manual): split string and array methods from section methods and test them 4 yıl önce
array_methods.out 1f2d8e2530 fix(manual): split string and array methods from section methods and test them 4 yıl önce
array_test.ion 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic 4 yıl önce
array_test.out 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic 4 yıl önce
array_vars.ion 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic 4 yıl önce
array_vars.out 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic 4 yıl önce
arrays_with_braces.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
arrays_with_braces.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
basic_condition.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
basic_condition.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
brace_exp.ion 2bc8826a97 fix(manual, testing): unit tests for correctly working sections+examples in manual chapter expansion 4 yıl önce
brace_exp.out 2bc8826a97 fix(manual, testing): unit tests for correctly working sections+examples in manual chapter expansion 4 yıl önce
braces.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
braces.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
break.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
break.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
builtin_piping.ion d91f3c05fc feat: Disable unicode support by default + update deps 5 yıl önce
builtin_piping.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
builtin_set.ion 935811eafd Fix set and status argument handling 4 yıl önce
builtin_set.out 935811eafd Fix set and status argument handling 4 yıl önce
builtin_status.ion 935811eafd Fix set and status argument handling 4 yıl önce
builtin_status.out 935811eafd Fix set and status argument handling 4 yıl önce
check.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
check.params 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
cmdfile_fail.out 60e497a3b8 fix(CLI): error handling: no twice flags or options, no command and file usage 4 yıl önce
cmdfile_fail.params 60e497a3b8 fix(CLI): error handling: no twice flags or options, no command and file usage 4 yıl önce
color_test.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
color_test.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
command-substitutions.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
command-substitutions.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
command.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
command.params 60e497a3b8 fix(CLI): error handling: no twice flags or options, no command and file usage 4 yıl önce
comments.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
comments.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
conditionals.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
conditionals.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
continue.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
continue.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
else_if.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
else_if.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
empty_loop_test.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
empty_loop_test.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
exists.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
exists.out 9057751f9b Apply clippy in pedantic mode 5 yıl önce
fail.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
fail.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
fibonacci.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
fibonacci.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
fibonacci.sh 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
fn-root-vars.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
fn-root-vars.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
fn.ion 56b83c2ee4 improv!: Rename calc builtin to math to avoid conflict with GNU 5 yıl önce
fn.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
for.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
for.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
function_piping.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
function_piping.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
glob.ion 843f59eff1 fix: Improved parsing and handling of backslashes 5 yıl önce
glob.out c85d2ef479 fix(clippy): define and fix clippy lints, add documentation+license 3 yıl önce
help.out e8e9b0fde0 fix: Update location of tests script in CONTRIBUTING.md. Add missing period to help.out. 4 yıl önce
help.params 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
herestring.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
herestring.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
if_with_builtins.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
if_with_builtins.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
inner_expansions.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
inner_expansions.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
inplace_ops.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
inplace_ops.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
issues.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
issues.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
keybinding_fail.out 60e497a3b8 fix(CLI): error handling: no twice flags or options, no command and file usage 4 yıl önce
keybinding_fail.params 60e497a3b8 fix(CLI): error handling: no twice flags or options, no command and file usage 4 yıl önce
let.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
let.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
map_vars.ion 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic 4 yıl önce
map_vars.out 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic 4 yıl önce
match.ion 02cba084dc lib/shell/flow: change match expressions to match based on regex 5 yıl önce
match.out 02cba084dc lib/shell/flow: change match expressions to match based on regex 5 yıl önce
methods.ion 5d7052abb2 fix(string methods): Remove methods than expand to 0/1 5 yıl önce
methods.out 843f59eff1 fix: Improved parsing and handling of backslashes 5 yıl önce
multiarg_fail.out 60e497a3b8 fix(CLI): error handling: no twice flags or options, no command and file usage 4 yıl önce
multiarg_fail.params 60e497a3b8 fix(CLI): error handling: no twice flags or options, no command and file usage 4 yıl önce
multiline-arrays.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
multiline-arrays.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
multiple-lines.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
multiple-lines.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
nested_conditions.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
nested_conditions.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
nested_for.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
nested_for.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
not.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
not.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
optional_assignment.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
optional_assignment.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
pipelines.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
pipelines.out a25b4d0875 feat!: Use non-forking subshells 5 yıl önce
process_exp.ion 2bc8826a97 fix(manual, testing): unit tests for correctly working sections+examples in manual chapter expansion 4 yıl önce
process_exp.out 2bc8826a97 fix(manual, testing): unit tests for correctly working sections+examples in manual chapter expansion 4 yıl önce
quotes.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
quotes.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
return.ion e3f7f06330 feat: Add the return keyword for returning codes from functions 5 yıl önce
return.out e3f7f06330 feat: Add the return keyword for returning codes from functions 5 yıl önce
run_benches 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
run_examples.sh c191d8c26b fix(CLI): delete structopt due to no advantage(conflict resolution) 4 yıl önce
scopes-2.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
scopes-2.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
scopes-3.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
scopes-3.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
scopes-4.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
scopes-4.out 38659eeb0d Make the command not found bubble and abort scripts & don't exec tests output 5 yıl önce
scopes.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
scopes.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
script_exec.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
script_exec.out 38659eeb0d Make the command not found bubble and abort scripts & don't exec tests output 5 yıl önce
square_brackets.ion 843f59eff1 fix: Improved parsing and handling of backslashes 5 yıl önce
square_brackets.out 843f59eff1 fix: Improved parsing and handling of backslashes 5 yıl önce
string_methods.ion 1f2d8e2530 fix(manual): split string and array methods from section methods and test them 4 yıl önce
string_methods.out 1f2d8e2530 fix(manual): split string and array methods from section methods and test them 4 yıl önce
string_vars.ion 380a41cd08 fix(CI): use 1.53.0 rust image instead of 1.43 and fix example 3 yıl önce
string_vars.out 380a41cd08 fix(CI): use 1.53.0 rust image instead of 1.43 and fix example 3 yıl önce
strings.ion 843f59eff1 fix: Improved parsing and handling of backslashes 5 yıl önce
strings.out 843f59eff1 fix: Improved parsing and handling of backslashes 5 yıl önce
unicode.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
unicode.out cdcb65dc84 chore: cargo fmt and bless ui test 5 yıl önce
variable_exp.ion 2bc8826a97 fix(manual, testing): unit tests for correctly working sections+examples in manual chapter expansion 4 yıl önce
variable_exp.out 2bc8826a97 fix(manual, testing): unit tests for correctly working sections+examples in manual chapter expansion 4 yıl önce
variables.ion 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic 4 yıl önce
variables.out 7878d8acf6 fix(manual,tests): test chapter variables up to arithmetic 4 yıl önce
while.ion 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce
while.out 7a21f5e772 Move the integration tests to `tests` to make room for rust examples 5 yıl önce

README.md

Changing tests

This tests are also used to generate the manual. Please make sure to update the manual, if you change tests.

Examples

The files in this directory are simple example scripts that are used to test the state of the shell as it is developed. When the run_examples.sh script is executed, it will build Ion and execute each of the ion scripts here, and compare their outputs to their assoicated out files.

TOOLCHAIN=stable ./run_examples.sh

For more elaborate examples of Ion usage, check out the advanced directory.