Skip to content

Commit 08de2e5

Browse files
committed
新建shell节点
1 parent 2a380c9 commit 08de2e5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

web/src/js/service/mixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default {
3434
{ rule: /\.python$/i, lang: 'python', executable: true, application: 'python', runType: 'python', ext: '.python', scriptType: 'python', abbr: 'py', logo: 'fi-python', isCanBeNew: true, label: 'Python', isCanBeOpen: true, flowType: 'python' },
3535
{ rule: /\.py$/i, lang: 'python', executable: true, application: 'spark', runType: 'python', ext: '.py', scriptType: 'pythonSpark', abbr: 'py', logo: 'fi-spark-python', isCanBeNew: true, label: 'PythonSpark', isCanBeOpen: true, flowType: 'pyspark' },
3636
{ rule: /\.r$/i, lang: 'r', executable: true, application: 'spark', runType: 'r', ext: '.r', scriptType: 'r', abbr: 'r', logo: 'fi-r', isCanBeNew: true, label: 'R', isCanBeOpen: true },
37-
{ rule: /\.sh$/i, lang: 'sh', executable: true, application: 'shell', runType: 'shell', ext: '.sh', scriptType: 'shell', abbr: 'shell', logo: 'fi-r', isCanBeNew: false, label: 'Shell', isCanBeOpen: true, flowType: 'shell' },
37+
{ rule: /\.sh$/i, lang: 'sh', executable: true, application: 'shell', runType: 'shell', ext: '.sh', scriptType: 'shell', abbr: 'shell', logo: 'fi-r', isCanBeNew: true, label: 'Shell', isCanBeOpen: true, flowType: 'shell' },
3838
{ rule: /\.qmlsql$/i, lang: 'hql', executable: false, application: 'spark', runType: 'sql', ext: '.qmlsql', scriptType: 'qmlsql', abbr: 'qmlsql', logo: 'fi-spark', isCanBeNew: false, label: 'QMLSQL', isCanBeOpen: true },
3939
{ rule: /\.qmlpy$/i, lang: 'python', executable: false, application: 'spark', runType: 'python', ext: '.qmlpy', scriptType: 'qmlpy', abbr: 'qmlpy', logo: 'fi-python', isCanBeNew: false, label: 'QMLPy', isCanBeOpen: true },
4040
{ rule: /\.txt$/i, lang: 'text', executable: false, application: null, runType: null, ext: '.txt', scriptType: 'txt', abbr: '', logo: 'fi-txt', isCanBeNew: false, isCanBeOpen: true },

web/src/js/service/nodeType.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import qualitis from '../module/process/images/newIcon/qualitis.svg';
3434
import python from '../module/process/images/newIcon/python.svg';
3535
import jdbc from '../module/process/images/newIcon/JDBC2.svg';
3636
const NODETYPE = {
37-
SHELL: 'azkaban.shell',
37+
SHELL: 'linkis.shell.sh',
3838
HQL: 'linkis.hive.hql',
3939
SPARKSQL: 'linkis.spark.sql',
4040
SPARKPY: 'linkis.spark.py',

web/vue.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ module.exports = {
3838
onEnd: {
3939
copy: [
4040
{ source: 'node_modules/monaco-editor/dev/vs', destination: `./dist/dist/static/vs` },
41-
{ source: './config.sh', destination: `./dist` },
42-
{ source: './install.sh', destination: `./dist` }
41+
{ source: './config.sh', destination: `./dist/conf` },
42+
{ source: './install.sh', destination: `./dist/bin` }
4343
],
4444
// 先删除根目录下的zip包
4545
delete: [`./wedatasphere-DataSphereStudio-${getVersion()}-dist.zip`],

0 commit comments

Comments
 (0)