One UI in flutter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
823 B

function ul_flutter_ui
set cabang $argv[1]
echo upload to $cabang
cd build/web
rsync -avzr --progress *.js one@$cabang:/home/one/project/one/one-ui-flutter/md-mitra/
rsync -avzr --progress *.html one@$cabang:/home/one/project/one/one-ui-flutter/md-mitra/
rsync -avzr --progress assets one@$cabang:/home/one/project/one/one-ui-flutter/md-mitra/
rsync -avzr --progress canvaskit one@$cabang:/home/one/project/one/one-ui-flutter/md-mitra/
rsync -avzr --progress icons one@$cabang:/home/one/project/one/one-ui-flutter/md-mitra/
cd ../..
end
function ul_api_to
set cabang $argv[2]
set target (string replace php-api/ "" $argv[1])
echo upload to $cabang
cd php-api
rsync -avzr --progress $target one@devone.aplikasi.web.id:/home/one/project/one/one-api/application/controllers/$target
cd ..
end