Skip to content

Commit

Permalink
add build_windows
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniokov committed Feb 22, 2017
1 parent fc43b3d commit d5531d1
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ build
npm-debug.log

.idea/
public/csv/
public/csv/
debug.log
4 changes: 2 additions & 2 deletions dist/replay-table.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/replay-table.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/replay-table.js.map

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions dist/replay-table.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "replayTable",
"version": "0.1.1",
"version": "2.0.1",
"private": true,
"devDependencies": {
"gh-pages": "^0.12.0",
Expand All @@ -16,6 +16,7 @@
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"build_windows": "react-scripts build && prepare.bat",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"deploy": "npm run build&&gh-pages -d build"
Expand Down
8 changes: 8 additions & 0 deletions prepare.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
robocopy ./build/static/js ./dist /mir
robocopy ./build/static/css ./dist
cd ./dist
ren main.*.js.map replay-table.js.map
ren main.*.js replay-table.min.js
ren main.*.css.map replay-table.css.map
ren main.*.css replay-table.css
cd ..

0 comments on commit d5531d1

Please sign in to comment.