• هاست سان
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

add a method to check if the add-on is on testing mode or not when the xf-addon:build command get executed.

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
Wouldn't it be nice if we can flag the in-development add-ons are in testing mode or not?

Let's say I'm developing an add-on, and it has this anti-flooding line commented out for the sake of testing. (// $this->assertNotFlooding('post'); //todo earl: enable this before build)

then again, if we execute the build command and forget to uncomment that anti-flooding lines. And we publish the add-on in the XenForo resources section without enabling it, we will have to release another...

Read more
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

موضوعات مشابه

عقب
بالا