summaryrefslogtreecommitdiff
path: root/tests/testdata/task/package_json_post_only
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/task/package_json_post_only')
-rw-r--r--tests/testdata/task/package_json_post_only/bin.out4
-rw-r--r--tests/testdata/task/package_json_post_only/echo.out1
-rw-r--r--tests/testdata/task/package_json_post_only/package.json5
3 files changed, 10 insertions, 0 deletions
diff --git a/tests/testdata/task/package_json_post_only/bin.out b/tests/testdata/task/package_json_post_only/bin.out
new file mode 100644
index 000000000..9e7cea091
--- /dev/null
+++ b/tests/testdata/task/package_json_post_only/bin.out
@@ -0,0 +1,4 @@
+Task not found: test
+Available tasks:
+- posttest (package.json)
+ echo 'posttest'
diff --git a/tests/testdata/task/package_json_post_only/echo.out b/tests/testdata/task/package_json_post_only/echo.out
new file mode 100644
index 000000000..573541ac9
--- /dev/null
+++ b/tests/testdata/task/package_json_post_only/echo.out
@@ -0,0 +1 @@
+0
diff --git a/tests/testdata/task/package_json_post_only/package.json b/tests/testdata/task/package_json_post_only/package.json
new file mode 100644
index 000000000..ce8a6bbd5
--- /dev/null
+++ b/tests/testdata/task/package_json_post_only/package.json
@@ -0,0 +1,5 @@
+{
+ "scripts": {
+ "posttest": "echo 'posttest'"
+ }
+}