scripts -> tools
This commit is contained in:
parent
2163356f7e
commit
17ad007d40
|
|
@ -8,7 +8,6 @@ public/app/*
|
|||
public/lang/*
|
||||
public/plugins/**
|
||||
resources/assets/tests/
|
||||
scripts/
|
||||
storage/debugbar
|
||||
storage/framework/cache/**
|
||||
storage/framework/sessions/**
|
||||
|
|
@ -18,6 +17,7 @@ storage/logs/**
|
|||
storage/packages/**
|
||||
storage/textures/*
|
||||
tests/
|
||||
tools/
|
||||
vendor/
|
||||
_ide_helper.php
|
||||
.dockerignore
|
||||
|
|
|
|||
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
|
|
@ -46,7 +46,7 @@ location ~* \w+\.hot-update\.json$ {
|
|||
}
|
||||
```
|
||||
|
||||
当 `APP_ENV` 为其它值时,您需要事先执行 `pwsh ./scripts/build.ps1`。此命令将构建并压缩前端资源。通常用于生产环境。
|
||||
当 `APP_ENV` 为其它值时,您需要事先执行 `pwsh ./tools/build.ps1`。此命令将构建并压缩前端资源。通常用于生产环境。
|
||||
|
||||
> 如果传递 `-Simple` 参数给 `build.ps1` 脚本,则只会运行 webpack 来编译代码,而不会复制首页背景以及生成 commit 信息。
|
||||
|
||||
|
|
|
|||
2
.github/workflows/Release.yml
vendored
2
.github/workflows/Release.yml
vendored
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Build and create archive
|
||||
run: ./scripts/release.ps1
|
||||
run: ./tools/release.ps1
|
||||
shell: pwsh
|
||||
env:
|
||||
AZURE_TOKEN: ${{ secrets.AZURE_TOKEN }}
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@
|
|||
"dev": "webpack-dev-server",
|
||||
"build": "webpack -p --progress && webpack -p --config=webpack.meta.config.ts",
|
||||
"lint": "eslint --ext=ts -f=beauty .",
|
||||
"fmt": "prettier --write resources/assets scripts webpack.*.ts",
|
||||
"fmt:check": "prettier --check resources/assets scripts webpack.*.ts",
|
||||
"fmt": "prettier --write resources/assets tools webpack.*.ts",
|
||||
"fmt:check": "prettier --check resources/assets tools webpack.*.ts",
|
||||
"test": "jest",
|
||||
"build:urls": "ts-node scripts/generateUrls.ts"
|
||||
"build:urls": "ts-node tools/generateUrls.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@emotion/core": "^10.0.28",
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ composer install --no-dev --prefer-dist --no-progress
|
|||
Remove-Item vendor/bin -Recurse -Force
|
||||
yarn
|
||||
Write-Host "Dependencies have been installed." -ForegroundColor Green
|
||||
./scripts/build.ps1
|
||||
./tools/build.ps1
|
||||
|
||||
$zip = "blessing-skin-server-$current.zip"
|
||||
zip -9 -r $zip app bootstrap config database plugins public resources/lang resources/views resources/misc/textures routes storage vendor .env.example artisan LICENSE README.md README_EN.md index.html
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
"extends": "./tsconfig.json",
|
||||
"include": [
|
||||
"resources/assets",
|
||||
"scripts",
|
||||
"tools",
|
||||
"webpack.config.ts",
|
||||
"webpack.meta.config.ts"
|
||||
]
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
"include": [
|
||||
"resources/assets/src",
|
||||
"resources/assets/webpack.d.ts",
|
||||
"scripts",
|
||||
"tools",
|
||||
"webpack.config.ts",
|
||||
"webpack.meta.config.ts"
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user