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.

22 lines
823 B

2 years ago
function ul_flutter_ui
2 years ago
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 ..
2 years ago
end