mirror of https://github.com/aminya/setup-cpp
build: remove js files in dist before building
This commit is contained in:
parent
4f53659123
commit
c0da0c558a
|
@ -8,60 +8,61 @@ ignorePaths:
|
||||||
- .git/
|
- .git/
|
||||||
- dist/
|
- dist/
|
||||||
words:
|
words:
|
||||||
- "buildtools"
|
- aarch
|
||||||
- "ccache"
|
- aminya
|
||||||
- "cmake"
|
|
||||||
- "CPATH"
|
|
||||||
- "Cppcheck"
|
|
||||||
- "CPPFLAGS"
|
|
||||||
- "cpprc"
|
|
||||||
- "dyld"
|
|
||||||
- "eabi"
|
|
||||||
- "execa"
|
|
||||||
- "gcovr"
|
|
||||||
- "Graphviz"
|
|
||||||
- "isci"
|
|
||||||
- "LDFLAGS"
|
|
||||||
- "msbuild"
|
|
||||||
- "msvc"
|
|
||||||
- "msys"
|
|
||||||
- "multilib"
|
|
||||||
- "nothrow"
|
|
||||||
- "Opencppcoverage"
|
|
||||||
- "OSSDK"
|
|
||||||
- "setx"
|
|
||||||
- "untildify"
|
|
||||||
- "vcpkg"
|
|
||||||
- "visualc"
|
|
||||||
- "visualcpp"
|
|
||||||
- pnpm
|
|
||||||
- Yahyaabadi
|
|
||||||
- vcvarsall
|
|
||||||
- kcov
|
|
||||||
- choco
|
|
||||||
- vsversion
|
|
||||||
- pwsh
|
|
||||||
- pypy
|
|
||||||
- ghes
|
|
||||||
- applellvm
|
- applellvm
|
||||||
- xcrun
|
- buildtools
|
||||||
|
- caxa
|
||||||
|
- ccache
|
||||||
|
- choco
|
||||||
|
- cmake
|
||||||
|
- CPATH
|
||||||
|
- Cppcheck
|
||||||
|
- CPPFLAGS
|
||||||
|
- cpprc
|
||||||
|
- Cpython
|
||||||
|
- deps
|
||||||
|
- devel
|
||||||
|
- dyld
|
||||||
|
- eabi
|
||||||
|
- execa
|
||||||
|
- gcovr
|
||||||
|
- ghes
|
||||||
|
- Graphviz
|
||||||
|
- isci
|
||||||
|
- kcov
|
||||||
|
- LDFLAGS
|
||||||
|
- libbinutils
|
||||||
|
- libdw
|
||||||
- libstdc
|
- libstdc
|
||||||
- libtinfo
|
- libtinfo
|
||||||
- libdw
|
- msbuild
|
||||||
- npmrc
|
- msvc
|
||||||
- setupcpp
|
- msys
|
||||||
- aarch
|
- multilib
|
||||||
- devel
|
|
||||||
- aminya
|
|
||||||
- caxa
|
|
||||||
- libbinutils
|
|
||||||
- tsbuildinfo
|
|
||||||
- deps
|
|
||||||
- mxschmitt
|
- mxschmitt
|
||||||
|
- nothrow
|
||||||
|
- npmrc
|
||||||
|
- Opencppcoverage
|
||||||
|
- OSSDK
|
||||||
|
- pnpm
|
||||||
|
- pwsh
|
||||||
|
- pypy
|
||||||
|
- setupcpp
|
||||||
|
- setx
|
||||||
- terserrc
|
- terserrc
|
||||||
|
- tsbuildinfo
|
||||||
|
- untildify
|
||||||
|
- vcpkg
|
||||||
|
- vcvarsall
|
||||||
|
- visualc
|
||||||
|
- visualcpp
|
||||||
|
- vsversion
|
||||||
|
- xcrun
|
||||||
|
- Yahyaabadi
|
||||||
ignoreWords: []
|
ignoreWords: []
|
||||||
import: []
|
import: []
|
||||||
dictionaryDefinitions: []
|
dictionaryDefinitions: []
|
||||||
dictionaries: []
|
dictionaries: []
|
||||||
language: "en, en-GB"
|
language: en, en-GB
|
||||||
allowCompoundWords: true
|
allowCompoundWords: true
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -14,10 +14,10 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "run-p test.tsc build.parcel copy.matchers",
|
"build": "run-p test.tsc build.parcel copy.matchers",
|
||||||
"build.docker": "pnpm build && docker build -f ./building/docker/ubuntu_node.dockerfile -t setup_cpp .",
|
"build.docker": "pnpm build && docker build -f ./building/docker/ubuntu_node.dockerfile -t setup_cpp .",
|
||||||
"build.parcel": "cross-env NODE_ENV=production parcel build --detailed-report",
|
"build.parcel": "shx rm -rf ./dist/*.js ./dist/*.js.map && cross-env NODE_ENV=production parcel build --detailed-report",
|
||||||
"bump": "ncu -u -x execa && pnpm update",
|
"bump": "ncu -u -x execa && pnpm update",
|
||||||
"clean": "shx rm -rf .parcel-cache dist exe",
|
"clean": "shx rm -rf .parcel-cache dist exe",
|
||||||
"copy.matchers": "shx cp ./src/gcc/gcc_matcher.json ./dist/ && shx cp ./src/msvc/msvc_matcher.json ./dist && shx cp ./src/python/python_matcher.json ./dist/ && shx cp ./src/llvm/llvm_matcher.json ./dist/ ",
|
"copy.matchers": "shx rm -rf ./dist/*.json && shx cp ./src/gcc/gcc_matcher.json ./dist/ && shx cp ./src/msvc/msvc_matcher.json ./dist && shx cp ./src/python/python_matcher.json ./dist/ && shx cp ./src/llvm/llvm_matcher.json ./dist/ ",
|
||||||
"dev": "cross-env NODE_ENV=development parcel watch",
|
"dev": "cross-env NODE_ENV=development parcel watch",
|
||||||
"format": "prettier --write .",
|
"format": "prettier --write .",
|
||||||
"lint": "eslint . --fix",
|
"lint": "eslint . --fix",
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { info, warning } from "../utils/io/io"
|
||||||
import { debug } from "@actions/core"
|
import { debug } from "@actions/core"
|
||||||
import path from "path"
|
import path from "path"
|
||||||
import { isGitHubCI } from "../utils/env/isci"
|
import { isGitHubCI } from "../utils/env/isci"
|
||||||
import { cacheDependencies } from "./cache"
|
import { cacheDependencies } from "./actions_cache"
|
||||||
|
|
||||||
function isPyPyVersion(versionSpec: string) {
|
function isPyPyVersion(versionSpec: string) {
|
||||||
return versionSpec.startsWith("pypy-")
|
return versionSpec.startsWith("pypy-")
|
||||||
|
|
Loading…
Reference in New Issue