Skip to content

Commit a1a4adc

Browse files
committed
ci(build script): Add build script for CI
1 parent b80456a commit a1a4adc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: netlify.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build]
22
publish = "_site/"
3-
command = "gem install bundler -v '2.1.4' && npm run build:api-markup && npm run webpack:prod && bundle exec jekyll build"
3+
command = "gem install bundler -v '2.1.4' && npm run build"

Diff for: package.json

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "the docs for Basil.js",
55
"scripts": {
66
"dev": "npm-run-all --parallel webpack:dev jekyll:dev",
7+
"build": "npm run build:api-markup && npm run webpack:prod && bundle exec jekyll build",
78
"test": "echo \"no test specified\" && exit 0",
89
"webpack:dev": "cross-env NODE_ENV=development webpack --progress --info-verbosity --colors --config webpack/webpack.config.dev.js",
910
"webpack:prod": "cross-env NODE_ENV=production webpack --config webpack/webpack.config.prod.js --colors",

0 commit comments

Comments
 (0)