Commit Graph

147 Commits

Author SHA1 Message Date
Eric Levy
c4cd099d65 Add test that subshell may process automatically-generated declarations 2022-01-25 18:54:15 -05:00
Eric Levy
88e7f09227 Add test that unmarking for export prevents inheritence by child shell 2022-01-25 18:54:15 -05:00
Eric Levy
747bb59322 Add test that all declared functions are inherited when marked for export 2022-01-25 18:54:15 -05:00
Eric Levy
9a81e1d831 Add test that defined functions are properly unloaded 2022-01-25 18:54:15 -05:00
Eric Levy
61d6b0c6ef Add test that listed functions are the same as actually defined 2022-01-25 18:54:15 -05:00
Eric Levy
cec3502e22 Add test that functions run in child if exported by parent 2022-01-25 18:54:15 -05:00
Eric Levy
9ad445e280 Add test that functions run in child if explicitly imported 2022-01-25 18:54:15 -05:00
Eric Levy
0036b48238 Add trivial test, that processing fails when tool is not invoked 2022-01-25 18:54:15 -05:00
Eric Levy
61151b307b Add test that functions are not normally inherited 2022-01-25 18:54:15 -05:00
Eric Levy
8aeb20b1c0 Add trivial test, for basic integrity of framework 2022-01-25 18:54:13 -05:00
Eric Levy
3cd32a4a0e Add meta tests, to validate handling of functions for subshells 2022-01-25 18:51:03 -05:00
Eric Levy
67bd586575 Print prefix basic before test name instead of file relative path 2022-01-25 18:51:03 -05:00
Eric Levy
ed2ab8f2a6 Move loop over tests to separate file 2022-01-25 18:51:02 -05:00
Eric Levy
343135760c Fortify detection of base directory for tests 2022-01-25 18:46:39 -05:00
Eric Levy
47941c83a4 Fix formatting of white space in test output 2022-01-25 18:46:39 -05:00
Eric Levy
2f382c5efe Add functions for handling defined functions and variables 2022-01-25 18:46:38 -05:00
Eric Levy
e42e4fce94 Add functions for listing names of defined functions and variables 2022-01-25 18:45:51 -05:00
Tyler Akins
54195a6c6e
Fixing test script to return 0 on success 2021-11-25 16:02:21 -06:00
Tyler Akins
81f9ec326d
Leaning away from committing package.json
Thank you yutachaos!
2021-11-25 15:59:30 -06:00
Tyler Akins
dae1c66f8f
Merge branch 'feature/added_github_action' of https://github.com/yutachaos/mo into yutachaos-feature/added_github_action 2021-11-25 15:57:52 -06:00
Tyler Akins
08576fca7b
Adding script to run against official specs 2021-11-25 15:40:13 -06:00
Tyler Akins
3aa5c462f8
Quoting variable
This suggestion is brought to you by neema80 - thank you!

This closes #48.
2021-11-25 15:36:47 -06:00
yutachaos
a28ed0ccd5 Added docker image push action 2021-04-23 13:01:42 +09:00
Tyler Akins
c86fd9a89b
Merge pull request #45 from yutachaos/feature/added_docker_release
Added dockerfile and release GitHub Action
2021-04-17 11:02:12 -05:00
yutachaos
03eb3925ac Added Dockerfile 2021-04-09 14:37:51 +09:00
yutachaos
8e3e08a42b Added docker image push action 2021-04-09 14:37:45 +09:00
Tyler Akins
4c332c9188 Updating test and documentation 2020-10-01 07:42:57 -05:00
Tyler Akins
67ba8bae2c Calling out that the argument can be used multiple times 2020-10-01 07:39:02 -05:00
Tyler Akins
1d2617dde1 Confirming multiple --source arguments work 2020-10-01 07:37:48 -05:00
Tyler Akins
dcd9d7738b Adding tests, shellcheck cleanup, update docs, release 2.2.0 2020-08-05 15:44:04 -05:00
Tyler Akins
65f12277e6
Merge pull request #40 from ynqa/show-latest-version
fix: show latest version for usage of mo
2020-08-05 11:37:38 -08:00
Tyler Akins
8cd67fb908
Merge pull request #39 from felipecassiors/felipecassiors/fail-on-function
Add fail on function
2020-08-05 11:27:50 -08:00
ynqa
bdb795bddf show 2.1.0 for mo usage 2020-08-06 00:01:09 +09:00
Felipe Santos
1f39b0f568 Add fail on function 2020-07-29 20:19:32 +00:00
Tyler Akins
0e6247e9e9
Merge pull request #37 from l2dy/whitespace
Remove trailing whitespace
2020-02-26 07:55:43 -06:00
Zero King
891b6a5de2 Remove trailing whitespace 2020-02-26 05:54:17 +00:00
Tyler Akins
3828588512
Showing how to write output that includes braces 2019-08-22 15:59:05 -05:00
Tyler Akins
929ffc5b88
Merge pull request #32 from andreax79/master
Pass arguments to function as environment variable MO_ALLOW_FUNCTION_ARGUMENTS
2019-08-08 07:47:44 -05:00
Andrea Bonomi
5b8cf24068 Pass arguments to function as environment variable MO_ALLOW_FUNCTION_ARGUMENTS 2019-08-08 11:43:50 +02:00
Andrea Bonomi
fcedd32155 Pass arguments to function as environment variable MO_ARGS 2019-08-07 15:01:51 +02:00
Tyler Akins
9f6d3bcdab
Adding an example
Shows how one can solve #29
2019-07-19 20:22:27 -05:00
Tyler Akins
eac2685632
Adding an example for adding a comma
This closes #26.
2019-04-14 06:25:06 -05:00
Tyler Akins
505570a57b
Adding short options
Feature request #25
2019-03-13 20:38:00 -05:00
Tyler Akins
aabc62f1d6
Merge pull request #22 from mamercad/mamercad-curl-follow-redirects
curl needs to follow redirects
2018-03-13 07:25:13 -05:00
Mark Mercado
e672bda163
curl needs to follow redirects 2018-03-13 08:11:43 -04:00
Tyler Akins
dbefade193
Adding a version number
It is shown with --help. It's also available as $MO_VERSION when mo is
sourced.
2017-11-30 05:43:10 -06:00
Tyler Akins
57a8d41394
Merge pull request #21 from jas99/patch-1
Fix: Intall issue
2017-11-20 07:22:43 -06:00
Jaspreet Singh
5739ccd705
Fix: Intall issue
Added -L flag to curl; so as to allow following redirect.
2017-11-19 15:53:12 +05:30
Tyler Akins
f889c37316
Found another issue with strict mode 2017-11-13 13:53:38 -06:00
Tyler Akins
4f615a0faf
More fixes if variables are not set and strict mode is enabled 2017-11-13 10:43:32 -06:00