]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Use bash for scripts
authorChocobozzz <me@florianbigard.com>
Wed, 5 May 2021 08:56:40 +0000 (10:56 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 5 May 2021 08:56:49 +0000 (10:56 +0200)
package.json

index 8552a9d60c0e96d60fd0ab43d3bb15fa00bf767a..2c4c478aca44b771f8b911d037e91fa8e5f125b8 100644 (file)
   },
   "typings": "*.d.ts",
   "scripts": {
-    "e2e": "sh ./scripts/e2e/index.sh",
-    "e2e:local": "sh ./scripts/e2e/local.sh",
-    "setup:cli": "sh ./scripts/setup/cli.sh",
-    "build": "sh ./scripts/build/index.sh",
-    "build:embed": "sh ./scripts/build/embed.sh",
-    "build:server": "sh ./scripts/build/server.sh",
-    "build:client": "sh ./scripts/build/client.sh",
-    "clean:client": "sh ./scripts/clean/client/index.sh",
-    "clean:server:test": "sh ./scripts/clean/server/test.sh",
-    "i18n:update": "sh ./scripts/i18n/update.sh",
+    "e2e": "bash ./scripts/e2e/index.sh",
+    "e2e:local": "bash ./scripts/e2e/local.sh",
+    "setup:cli": "bash ./scripts/setup/cli.sh",
+    "build": "bash ./scripts/build/index.sh",
+    "build:embed": "bash ./scripts/build/embed.sh",
+    "build:server": "bash ./scripts/build/server.sh",
+    "build:client": "bash ./scripts/build/client.sh",
+    "clean:client": "bash ./scripts/clean/client/index.sh",
+    "clean:server:test": "bash ./scripts/clean/server/test.sh",
+    "i18n:update": "bash ./scripts/i18n/update.sh",
     "plugin:install": "node ./dist/scripts/plugin/install.js",
     "plugin:uninstall": "node ./dist/scripts/plugin/uninstall.js",
     "i18n:create-custom-files": "node ./dist/scripts/i18n/create-custom-files.js",
     "reset-password": "node ./dist/scripts/reset-password.js",
-    "dev": "sh ./scripts/dev/index.sh",
-    "dev:server": "sh ./scripts/dev/server.sh",
-    "dev:embed": "sh ./scripts/dev/embed.sh",
-    "dev:client": "sh ./scripts/dev/client.sh",
-    "dev:cli": "sh ./scripts/dev/cli.sh",
+    "dev": "bash ./scripts/dev/index.sh",
+    "dev:server": "bash ./scripts/dev/server.sh",
+    "dev:embed": "bash ./scripts/dev/embed.sh",
+    "dev:client": "bash ./scripts/dev/client.sh",
+    "dev:cli": "bash ./scripts/dev/cli.sh",
     "start": "node dist/server",
     "start:server": "node dist/server --no-client",
     "update-host": "node ./dist/scripts/update-host.js",
@@ -51,9 +51,9 @@
     "regenerate-thumbnails": "node ./dist/scripts/regenerate-thumbnails.js",
     "create-import-video-file-job": "node ./dist/scripts/create-import-video-file-job.js",
     "print-transcode-command": "node ./dist/scripts/print-transcode-command.js",
-    "test": "sh ./scripts/test.sh",
-    "help": "sh ./scripts/help.sh",
-    "generate-cli-doc": "sh ./scripts/generate-cli-doc.sh",
+    "test": "bash ./scripts/test.sh",
+    "help": "bash ./scripts/help.sh",
+    "generate-cli-doc": "bash ./scripts/generate-cli-doc.sh",
     "parse-log": "node ./dist/scripts/parse-log.js",
     "prune-storage": "node ./dist/scripts/prune-storage.js",
     "optimize-old-videos": "node ./dist/scripts/optimize-old-videos.js",
     "eslint": "eslint",
     "concurrently": "concurrently",
     "mocha": "mocha",
-    "ci": "sh ./scripts/ci.sh",
-    "release": "sh ./scripts/release.sh",
-    "release-embed-api": "sh ./scripts/release-embed-api.sh",
-    "nightly": "sh ./scripts/nightly.sh",
-    "openapi-clients": "sh ./scripts/openapi-clients.sh",
-    "client-report": "sh ./scripts/client-report.sh",
+    "ci": "bash ./scripts/ci.sh",
+    "release": "bash ./scripts/release.sh",
+    "release-embed-api": "bash ./scripts/release-embed-api.sh",
+    "nightly": "bash ./scripts/nightly.sh",
+    "openapi-clients": "bash ./scripts/openapi-clients.sh",
+    "client-report": "bash ./scripts/client-report.sh",
     "swagger-cli": "swagger-cli"
   },
   "dependencies": {