Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
ZhangKuan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张宽
ZhangKuan
Commits
4b60572b
Commit
4b60572b
authored
Mar 23, 2018
by
22管33
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
測試.gitegnore以及增加替换包名的脚本
parent
c8e56290
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
.gitignore
.gitignore
+5
-0
replace_pachage.sh
replace_pachage.sh
+9
-0
No files found.
.gitignore
View file @
4b60572b
...
...
@@ -29,6 +29,11 @@ dep2.sh
web/src/main/filters/dev.properties
dao/src/main/java/com/haomostudio/SeekTruthBackend/
domain/src/main/java/com/haomostudio/SeekTruthBackend/
web/src/main/resources/mybatis/com/haomostudio/SeekTruthBackend/
service/src/main/java/com/haomostudio/SeekTruthBackend/service/*.java
dao/src/main/java/com/haomostudio/SpringMVCProjectTemplate/
domain/src/main/java/com/haomostudio/SpringMVCProjectTemplate/
web/src/main/resources/mybatis/com/haomostudio/SpringMVCProjectTemplate/
...
...
replace_pachage.sh
0 → 100755
View file @
4b60572b
#!/bin/bash
read
-p
"请输入项目名:"
-t
60 username
#等待60秒
echo
$username
perl
-p
-i
-e
"s/SeekTruthBackend.domain/
$username
.po/g"
dao/src/main/java/com/haomostudio/SeekTruthBackend/dao/
*
.java
perl
-p
-i
-e
"s/SeekTruthBackend.dao/
$username
.dao/g"
web/src/main/resources/mybatis/com/haomostudio/SeekTruthBackend/
*
Mapper.xml
perl
-p
-i
-e
"s/SeekTruthBackend.domain/
$username
.po/g"
web/src/main/resources/mybatis/com/haomostudio/SeekTruthBackend/
*
Mapper.xml
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment