chore: rename building path to dev

This commit is contained in:
Amin Yahyaabadi 2022-04-26 22:07:54 -07:00
parent 25cb8633f1
commit 997b6725fe
8 changed files with 6 additions and 6 deletions

View File

@ -127,6 +127,6 @@ jobs:
- name: Build - name: Build
id: docker_build id: docker_build
run: | run: |
docker build -f ./building/docker/${{ matrix.container }} -t setup_cpp . docker build -f ./dev/docker/${{ matrix.container }} -t setup_cpp .
env: env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true ACTIONS_ALLOW_UNSECURE_COMMANDS: true

View File

@ -197,12 +197,12 @@ RUN source ~/.cpprc
ENTRYPOINT [ "/bin/sh" ] ENTRYPOINT [ "/bin/sh" ]
``` ```
See [this folder](https://github.com/aminya/setup-cpp/tree/master/building/docker), for some dockerfile examples. See [this folder](https://github.com/aminya/setup-cpp/tree/master/dev/docker), for some dockerfile examples.
If you want to build the ones included, then run: If you want to build the ones included, then run:
```ps1 ```ps1
docker build -f ./building/docker/ubuntu.dockerfile -t setup_cpp . docker build -f ./dev/docker/ubuntu.dockerfile -t setup_cpp .
``` ```
Where you should use the path to the dockerfile after `-f`. Where you should use the path to the dockerfile after `-f`.
@ -230,7 +230,7 @@ jobs:
- name: Build - name: Build
id: docker_build id: docker_build
run: | run: |
docker build -f ./building/docker/debian.dockerfile -t setup_cpp . docker build -f ./dev/docker/debian.dockerfile -t setup_cpp .
env: env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true ACTIONS_ALLOW_UNSECURE_COMMANDS: true
``` ```

View File

@ -13,7 +13,7 @@
}, },
"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 ./dev/docker/ubuntu_node.dockerfile -t setup_cpp .",
"build.parcel": "shx rm -rf ./dist/*.js ./dist/*.js.map && 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",
@ -21,7 +21,7 @@
"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",
"pack.exe": "shx rm -rf ./dist/tsconfig.tsbuildinfo && node ./building/scripts/pack-exe.js", "pack.exe": "shx rm -rf ./dist/tsconfig.tsbuildinfo && node ./dev/scripts/pack-exe.js",
"prepare": "npm run build", "prepare": "npm run build",
"start.docker": "docker run -t setup_cpp .", "start.docker": "docker run -t setup_cpp .",
"test": "run-p test.format test.lint test.cspell test.tsc test.unit", "test": "run-p test.format test.lint test.cspell test.tsc test.unit",