mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-04 02:01:58 -05:00
Improved functionality of yarn setup
- we need to initialize the submodules in case they weren't done when cloning, otherwise Casper will be missing - we can avoid doing an initial build because it'll get wiped when we do `yarn dev` anyway
This commit is contained in:
parent
ea39ee3269
commit
5f514a7d1b
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@
|
|||
"license": "MIT",
|
||||
"scripts": {
|
||||
"start": "node index",
|
||||
"setup": "knex-migrator init && grunt symlink && yarn build || (exit 0)",
|
||||
"setup": "knex-migrator init && grunt symlink || (exit 0)",
|
||||
"build": "yarn workspace ghost-admin run build",
|
||||
"test": "yarn test:unit",
|
||||
"test:single": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js --timeout=60000",
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
"fix": "yarn cache clean && rm -rf node_modules && yarn",
|
||||
"knex-migrator": "yarn workspace ghost run knex-migrator",
|
||||
"lint": "yarn workspaces run lint",
|
||||
"setup": "yarn && yarn workspace ghost run setup",
|
||||
"setup": "yarn && yarn workspace ghost run setup && git submodule update --init",
|
||||
"start": "yarn workspace ghost run start",
|
||||
"test": "yarn workspaces run test",
|
||||
"main": "yarn main:monorepo && yarn main:submodules",
|
||||
|
|
Loading…
Add table
Reference in a new issue