non important commit
This commit is contained in:
parent
0d0a78c1e0
commit
43fbf5f6f6
3 changed files with 74 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ in {
|
|||
] {
|
||||
|
||||
if $name == null or $type == null {
|
||||
print "Usage: create-project <name> <type> [Options: -l]"
|
||||
print "Usage: create-project <type> <name> [Options: -l]"
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
|
@ -40,8 +40,8 @@ in {
|
|||
mkdir $name
|
||||
cd $name
|
||||
|
||||
if ($blueprint_dir | path expand | ls $in | length) > 0 {
|
||||
glob $"($blueprint_dir)/*" | each { ||file| cp $file . }
|
||||
if (ls $blueprint_dir | length) > 0 {
|
||||
glob $"($blueprint_dir)/*" | each { |file| cp $file . }
|
||||
chmod -R u+w .
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue