Create builder folder for docker + bootstrap combo

This commit is contained in:
Webber 2020-01-07 21:55:01 +01:00 committed by Webber Takken
parent f663254051
commit 2166833f11
5 changed files with 7 additions and 9 deletions

View File

@ -2,6 +2,4 @@
* *
# Files required for the action # Files required for the action
!entrypoint.sh !builder/
!action.yml
!default-build-script

View File

@ -1,2 +1,2 @@
**/node_modules/** **/node_modules/**
**/dist/** **/builder/**

View File

@ -34,4 +34,4 @@ branding:
color: 'gray-dark' color: 'gray-dark'
runs: runs:
using: 'node12' using: 'node12'
main: 'dist/index.js' main: 'builder/index.js'

View File

@ -1,13 +1,13 @@
{ {
"name": "unity-builder", "name": "unity-builder",
"version": "0.2.0", "version": "0.5.0",
"description": "Build Unity projects for different platforms.", "description": "Build Unity projects for different platforms.",
"main": "src/index.js", "main": "builder/index.js",
"repository": "git@github.com:webbertakken/unity-builder.git", "repository": "git@github.com:webbertakken/unity-builder.git",
"author": "Webber <webber@takken.io>", "author": "Webber <webber@takken.io>",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"build": "ncc build --out dist --minify", "build": "ncc build src --out builder --minify",
"lint": "prettier --check \"src/**/*.js\" && eslint src", "lint": "prettier --check \"src/**/*.js\" && eslint src",
"test": "jest" "test": "jest"
}, },
@ -39,7 +39,7 @@
}, },
"husky": { "husky": {
"hooks": { "hooks": {
"pre-commit": "lint-staged && yarn build && git add dist" "pre-commit": "lint-staged && yarn build && git add builder/index.js"
} }
}, },
"lint-staged": { "lint-staged": {