Skip to content

Commit

Permalink
Update build_rom.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Snowman2409 authored Mar 6, 2022
1 parent 0b1f85c commit fc193cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build_rom.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# sync rom
repo init --depth=1 --no-repo-verify -u -u https://github.com/Evolution-X/manifest -b snow -g default,-mips,-darwin,-notdefault
repo init --depth=1 --no-repo-verify -u -u https://github.com/PixelExperience/manifest -b twelve -g default,-mips,-darwin,-notdefault
git clone https://github.com/Snowman2409/local-manifest --depth=1 -b main .repo/local_manifests
repo sync -c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j8
# build rom
source build/envsetup.sh
lunch evolution_lavender-userdebug
lunch aosp_lavender-userdebug
export BUILD_BROKEN_MISSING_REQUIRED_MODULES := true
mka evolution
mka bacon

# upload rom (if you don't need to upload multiple files, then you don't need to edit next line)
rclone copy out/target/product/$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1)/*.zip cirrus:$(grep unch $CIRRUS_WORKING_DIR/build_rom.sh -m 1 | cut -d ' ' -f 2 | cut -d _ -f 2 | cut -d - -f 1) -P

0 comments on commit fc193cc

Please sign in to comment.