You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -389,7 +389,10 @@ source_path = [
389
389
]
390
390
}, {
391
391
path = "src/python3.8-app3",
392
-
commands = ["npm install"],
392
+
commands = [
393
+
"npm install",
394
+
":zip"
395
+
],
393
396
patterns = [
394
397
"!.*/.*\\.txt", # Skip all txt files recursively
395
398
"node_modules/.+", # Include all node_modules
@@ -424,6 +427,7 @@ Few notes:
424
427
```
425
428
426
429
*`commands` - List of commands to run. If specified, this argument overrides `pip_requirements`.
430
+
*`:zip [source] [destination]` is a special command which creates content of current working directory (first argument) and places it inside of path (second argument).
427
431
*`pip_requirements` - Controls whether to execute `pip install`. Set to `false` to disable this feature, `true` to run `pip install` with `requirements.txt` found in `path`. Or set to another filename which you want to use instead.
428
432
*`prefix_in_zip` - If specified, will be used as a prefix inside zip-archive. By default, everything installs into the root of zip-archive.
0 commit comments