build: remove js files in dist before building

This commit is contained in:
Amin Yahyaabadi 2022-04-24 16:53:34 -07:00
parent 4f53659123
commit c0da0c558a
9 changed files with 57 additions and 56 deletions

View File

@ -8,60 +8,61 @@ ignorePaths:
- .git/
- dist/
words:
- "buildtools"
- "ccache"
- "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
- aarch
- aminya
- 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
- libtinfo
- libdw
- npmrc
- setupcpp
- aarch
- devel
- aminya
- caxa
- libbinutils
- tsbuildinfo
- deps
- msbuild
- msvc
- msys
- multilib
- mxschmitt
- nothrow
- npmrc
- Opencppcoverage
- OSSDK
- pnpm
- pwsh
- pypy
- setupcpp
- setx
- terserrc
- tsbuildinfo
- untildify
- vcpkg
- vcvarsall
- visualc
- visualcpp
- vsversion
- xcrun
- Yahyaabadi
ignoreWords: []
import: []
dictionaryDefinitions: []
dictionaries: []
language: "en, en-GB"
language: en, en-GB
allowCompoundWords: true

File diff suppressed because one or more lines are too long

1
dist/actions_python.33820791.js.map vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/setup_cpp.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -14,10 +14,10 @@
"scripts": {
"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.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",
"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",
"format": "prettier --write .",
"lint": "eslint . --fix",

View File

@ -5,7 +5,7 @@ import { info, warning } from "../utils/io/io"
import { debug } from "@actions/core"
import path from "path"
import { isGitHubCI } from "../utils/env/isci"
import { cacheDependencies } from "./cache"
import { cacheDependencies } from "./actions_cache"
function isPyPyVersion(versionSpec: string) {
return versionSpec.startsWith("pypy-")