Skip to content

Commit

Permalink
chore: script to keep .gitkeep file (#3787)
Browse files Browse the repository at this point in the history
Description
---
Added a step after build, that will recreate the `.gitkeep` file in the build directory.

Motivation and Context
---
We need to keep the `.gitkeep` file after the `npm run build`

How Has This Been Tested?
---
`npm run build` windows and wsl2(ubuntu) on windows
  • Loading branch information
Cifko authored Feb 2, 2022
1 parent ffd502d commit 3ee1320
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions applications/tari_collectibles/web-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"postbuild": "touch ./build/.gitkeep || type NUL > ./build/.gitkeep",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint src/**/*.js"
Expand Down

0 comments on commit 3ee1320

Please sign in to comment.