File tree Expand file tree Collapse file tree 14 files changed +770
-78
lines changed
makeblock/mbot/panel/control Expand file tree Collapse file tree 14 files changed +770
-78
lines changed Original file line number Diff line number Diff line change
1
+ /**
2
+ * @fileoverview BUILD configuration for Coding with Chrome (linux app).
3
+ *
4
+ * @license Copyright 2018 The Coding with Chrome Authors.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ *
18
+ * @author mbordihn@google.com (Markus Bordihn)
19
+ */
20
+ let mv = require ( 'mv' ) ;
21
+
22
+
23
+ /**
24
+ * Linux 32 bit
25
+ */
26
+ mv ( 'dist/binary/linux32/binary' ,
27
+ 'dist/binary/linux32/Coding with Chrome' ,
28
+ { mkdirp : false } , function ( ) { } ) ;
29
+
30
+
31
+ /**
32
+ * Linux 64 bit
33
+ */
34
+ mv ( 'dist/binary/linux64/binary' ,
35
+ 'dist/binary/linux64/Coding with Chrome' ,
36
+ { mkdirp : false } , function ( ) { } ) ;
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @fileoverview BUILD configuration for Coding with Chrome (osx app).
3
+ *
4
+ * @license Copyright 2018 The Coding with Chrome Authors.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ *
18
+ * @author mbordihn@google.com (Markus Bordihn)
19
+ */
20
+ let mv = require ( 'mv' ) ;
21
+
22
+
23
+ /**
24
+ * OSX 64 bit
25
+ */
26
+ mv ( 'dist/binary/osx64/binary' ,
27
+ 'dist/binary/osx64/Coding with Chrome' ,
28
+ { mkdirp : false } , function ( ) { } ) ;
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @fileoverview BUILD configuration for Coding with Chrome (win app).
3
+ *
4
+ * @license Copyright 2018 The Coding with Chrome Authors.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ *
18
+ * @author mbordihn@google.com (Markus Bordihn)
19
+ */
20
+ let mv = require ( 'mv' ) ;
21
+
22
+
23
+ /**
24
+ * Windows 32 bit
25
+ */
26
+ mv ( 'dist/binary/win32/binary.exe' ,
27
+ 'dist/binary/win32/Coding with Chrome.exe' ,
28
+ { mkdirp : false } , function ( ) { } ) ;
29
+
30
+ /**
31
+ * Windows 64 bit
32
+ */
33
+ mv ( 'dist/binary/win64/binary.exe' ,
34
+ 'dist/binary/win64/Coding with Chrome.exe' ,
35
+ { mkdirp : false } , function ( ) { } ) ;
Original file line number Diff line number Diff line change @@ -80,3 +80,13 @@ npm run publish:chrome_app
80
80
81
81
Use the generated ** dist/chrome_app.zip** file for the upload to the
82
82
Chrome Store or to share over other ways.
83
+
84
+ ### Binary (experimental)
85
+
86
+ ``` bash
87
+ npm run build:nw_app
88
+ npm run publish:nw_app
89
+ ```
90
+
91
+ Use the generated ** dist/binary/* /*** folders to create an zip archive for
92
+ the upload to GitHub or to share over other ways.
You can’t perform that action at this time.
0 commit comments