Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for alternative template/arch Dockerfile names #36

Merged
merged 1 commit into from Apr 22, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Some generated files are not rendered by default. Learn more.

@@ -5,9 +5,9 @@
"main": "build/index.js",
"types": "build/index.d.ts",
"scripts": {
"clean": "rm -rf build",
"clean": "rimraf build",
"build": "npm run clean && tsc --project tsconfig.release.json",
"build:test": "npm run clean && tsc --project . && cp -r test/test-files build/test",
"build:test": "npm run clean && tsc --project . && mkdirp build/test && ncp test/test-files build/test/test-files",
"lint": "resin-lint --typescript src/ test/ typings/ && tsc --noEmit",
"prettify": "prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"{src,test,typings}/**/*.ts\"",
"test": "npm run build:test && mocha",
@@ -35,13 +35,16 @@
"@types/semver": "^6.0.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"ncp": "^2.0.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.5",
"mkdirp": "^0.5.1",
"mocha": "^6.1.3",
"prettier": "^1.16.4",
"require-npm4-to-publish": "^1.0.0",
"resin-lint": "^2.0.1",
"tar-utils": "^1.1.0",
"rimraf": "^2.6.3",
"tar-utils": "^2.0.0",

This comment has been minimized.

Copy link
@pdcastro

pdcastro Apr 16, 2019

Author Contributor

All these changes to package.json are to allow npm test to pass on Windows (where the rm and cp commands are not available by default). Now the tests pass! I wanted/needed to run the tests on Windows to check issues with path separators, as I've found this to be part of the problem reported at:

"tslint": "^5.15.0",
"typescript": "^3.4.3"
},
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.