|
@@ -0,0 +1,14 @@
|
|
|
+import("core.base.option")
|
|
|
+
|
|
|
+function main()
|
|
|
+ print("update xmake-repo ..")
|
|
|
+ os.exec("git clone [email protected]:xmake-io/xmake-repo.git -b dev --recurse-submodules")
|
|
|
+ os.cd("xmake-repo")
|
|
|
+ os.exec("git push [email protected]:tboox/xmake-repo.git dev")
|
|
|
+ os.exec("git push [email protected]:tboox/xxmake-repo.git dev")
|
|
|
+ os.exec("git checkout master")
|
|
|
+ os.exec("git merge dev")
|
|
|
+ os.exec("git push [email protected]:xmake-io/xmake-repo.git master")
|
|
|
+ os.exec("git push [email protected]:tboox/xmake-repo.git master")
|
|
|
+ os.exec("git push [email protected]:tboox/xmake-repo.git master")
|
|
|
+end
|